diff options
Diffstat (limited to 'sdnr/wt/devicemanager/provider/src/main/resources/elasticsearch/plugins/head/src/app/ui/splitButton/splitButtonDemo.js')
-rw-r--r-- | sdnr/wt/devicemanager/provider/src/main/resources/elasticsearch/plugins/head/src/app/ui/splitButton/splitButtonDemo.js | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/sdnr/wt/devicemanager/provider/src/main/resources/elasticsearch/plugins/head/src/app/ui/splitButton/splitButtonDemo.js b/sdnr/wt/devicemanager/provider/src/main/resources/elasticsearch/plugins/head/src/app/ui/splitButton/splitButtonDemo.js new file mode 100644 index 000000000..76b6fa2dc --- /dev/null +++ b/sdnr/wt/devicemanager/provider/src/main/resources/elasticsearch/plugins/head/src/app/ui/splitButton/splitButtonDemo.js @@ -0,0 +1,16 @@ +$( function() { + + var ui = window.app.ns("ui"); + + window.builder = function() { + return new ui.SplitButton({ + label: "Default", + items: [ + { label: "Action" }, + { label: "Another Action" }, + { label: "Selected", selected: true } + ] + }); + }; + +});
\ No newline at end of file |