Button.Split

parents: Base

defined in: split.js

Class

  • Button.Split () Combining button and menubutton to form SplitButton.

Attributes


Methods

  • render () Render button and menubutton together.

Class Detail

  • Button.Split ()

Attributes Detail

  • eventHandler {String} Event handler type. Enum : "content", "value". "content" : sync first button with second menubutton 's content and value. "value" : sync first button with second menubutton 's value only.
  • eventType {String} Event type to listen on the menubutton. Default : click.
  • first Button instance.
  • hideAfterMenuClick {Boolean} Whether hide menubutton 's drop menu after click on it. Default : true
  • second MenuButton instance.

Methods Detail

  • render () view source
    Render button and menubutton together.
blog comments powered by Disqus
Top