1
0
mirror of synced 2024-11-29 16:16:02 +03:00

added footer extension

This commit is contained in:
Igor Vaynberg 2014-06-24 09:39:06 -07:00 committed by Kevin Brown
parent 08af2fb629
commit 68f91c3f1b

View File

@ -70,12 +70,18 @@
}
});
var FooterExtension=clazz(Object, {
render: function() {
return this.decorated()+"<div>I am a footer</div>";
}
});
var selection = new Selection();
selection
.decorateWith(new ClearExtension({position: "right"}))
.decorateWith(new SortableExtension());
.decorateWith(new SortableExtension())
.decorateWith(new FooterExtension());
var markup = selection.render();
$("#container").html(markup);