All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.vaadin.polymer.iron.IronMenuBehavior Maven / Gradle / Ivy

The newest version!
/*
 * This code was generated with Vaadin Web Component GWT API Generator, 
 * from iron-menu-behavior project by The Polymer Authors
 * that is licensed with http://polymer.github.io/LICENSE.txt license.
 */
package com.vaadin.polymer.iron;

import com.vaadin.polymer.elemental.*;
import com.google.gwt.core.client.JavaScriptObject;
import com.google.gwt.core.client.JsArray;
import jsinterop.annotations.JsOverlay;
import jsinterop.annotations.JsProperty;
import jsinterop.annotations.JsType;


/**
 * 

Polymer.IronMenuBehavior implements accessible menu behavior.

*/ @JsType(isNative=true) public interface IronMenuBehavior { @JsOverlay public static final String NAME = "Polymer.IronMenuBehavior"; @JsOverlay public static final String SRC = "iron-menu-behavior/iron-menubar-behavior.html"; /** * * * JavaScript Info: * @property disabled * @type Boolean * */ @JsProperty boolean getDisabled(); /** * * * JavaScript Info: * @property disabled * @type Boolean * */ @JsProperty void setDisabled(boolean value); /** *

Returns the currently focused item.

* * JavaScript Info: * @property focusedItem * @type ?Object * */ @JsProperty JavaScriptObject getFocusedItem(); /** *

Returns the currently focused item.

* * JavaScript Info: * @property focusedItem * @type ?Object * */ @JsProperty void setFocusedItem(JavaScriptObject value); /** * * * JavaScript Info: * @property keyBindings * @type Object * */ @JsProperty JavaScriptObject getKeyBindings(); /** * * * JavaScript Info: * @property keyBindings * @type Object * */ @JsProperty void setKeyBindings(JavaScriptObject value); /** *

The attribute to use on menu items to look up the item title. Typing the first
letter of an item when the menu is open focuses that item. If unset, textContent
will be used.

* * JavaScript Info: * @property attrForItemTitle * @type String * */ @JsProperty String getAttrForItemTitle(); /** *

The attribute to use on menu items to look up the item title. Typing the first
letter of an item when the menu is open focuses that item. If unset, textContent
will be used.

* * JavaScript Info: * @property attrForItemTitle * @type String * */ @JsProperty void setAttrForItemTitle(String value); /** *

Selects the given value. If the multi property is true, then the selected state of the
value will be toggled; otherwise the value will be selected.

* * JavaScript Info: * @method select * @param {(string|number)} value * * */ void select(Object value); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy