com.vaadin.polymer.iron.IronCheckedElementBehavior Maven / Gradle / Ivy
The newest version!
/*
* This code was generated with Vaadin Web Component GWT API Generator,
* from iron-checked-element-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;
/**
* Use Polymer.IronCheckedElementBehavior
to implement a custom element
that has a checked
property, which can be used for validation if the
element is also required
. Element instances implementing this behavior
will also be registered for use in an iron-form
element.
*/
@JsType(isNative=true)
public interface IronCheckedElementBehavior {
@JsOverlay public static final String NAME = "Polymer.IronCheckedElementBehavior";
@JsOverlay public static final String SRC = "iron-checked-element-behavior/iron-checked-element-behavior.html";
/**
* Gets or sets the state, true
is checked and false
is unchecked.
*
* JavaScript Info:
* @property checked
* @type Boolean
* @behavior PaperToggleButton
*/
@JsProperty boolean getChecked();
/**
* Gets or sets the state, true
is checked and false
is unchecked.
*
* JavaScript Info:
* @property checked
* @type Boolean
* @behavior PaperToggleButton
*/
@JsProperty void setChecked(boolean value);
/**
* If true, the button toggles the active state with each tap or press
of the spacebar.
*
* JavaScript Info:
* @property toggles
* @type Boolean
* @behavior PaperToggleButton
*/
@JsProperty boolean getToggles();
/**
* If true, the button toggles the active state with each tap or press
of the spacebar.
*
* JavaScript Info:
* @property toggles
* @type Boolean
* @behavior PaperToggleButton
*/
@JsProperty void setToggles(boolean value);
/**
* Overriden from Polymer.IronFormElementBehavior
*
* JavaScript Info:
* @property value
* @type String
* @behavior PaperToggleButton
*/
@JsProperty String getValue();
/**
* Overriden from Polymer.IronFormElementBehavior
*
* JavaScript Info:
* @property value
* @type String
* @behavior PaperToggleButton
*/
@JsProperty void setValue(String value);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy