@Override
public void ready(YuiContext Y) {
parent.append("<p>First a horizontal default slider...");
Node n1 = parent.appendChild("<span></span>").cast();
Widget slider1 = Y.newSlider().render(n1);
// slider1.on(TYPE, c)
parent.append("<p>Now a vertical, custom slider...");
Node n2 = parent.appendChild("<span>unknownsoldierflag123</span>").cast();
final Slider sl2 = Y.newSlider(SliderConfig.create().axis("y").min(1).max(5).value(3).length(200)).render(n2).cast();