Content-Length: 61021 | pFad | http://docs.telerik.com/kendo-ui/controls/dropdownbutton/items

jQuery DropDownButton Documentation - Items - Kendo UI for jQuery

New to Kendo UI for jQuery? Download free 30-day trial

Items

The Kendo UI DropDownButton provides a various set of options for its items.

The following example demonstrates how to configure the DropDownButton items:

    <button id="dropDownButton"></button>

    <script>
        $(document).ready(function () {

             $("#dropDownButton").kendoDropDownButton({                  
                icon: "clipboard",
                items: [
                    { id: "keep-text", text: "Keep Text Only", icon: "clipboard-text" },
                    { id: "paste-html", text: "Paste as HTML",  hidden:true },
                    { id: "paste-markdown", text: "Paste Markdown", icon: "clipboard-markdown", enabled:false },
                    { id: "favourite", text: "Mark As Favourite", imageUrl: 'https://demos.telerik.com/kendo-ui/content/shared/icons/16/star.png', attributes: { "data-context": "some arbitrary data" } },
                    { id: "telerik", text: "Go to DropDownButton Demos"  }
                ]
            });
        });
    </script>

See Also

In this article








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://docs.telerik.com/kendo-ui/controls/dropdownbutton/items

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy