diff options
Diffstat (limited to 'source/kinds.js')
-rw-r--r-- | source/kinds.js | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/source/kinds.js b/source/kinds.js new file mode 100644 index 0000000..699ef0f --- /dev/null +++ b/source/kinds.js @@ -0,0 +1,18 @@ +enyo.kind({ + name: "VerseList", + kind: "List", + published: { + clientStyle: "display: inline;" + }, + + create: function () { + this.inherited(arguments); + this.$.port.addRemoveClass("verse-view", true); + this.clientStyleChanged(); + }, + + clientStyleChanged: function () { + this.$.generator.setClientStyle(this.clientStyle); + } + +});
\ No newline at end of file |