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

com.vaadin.polymer.paper.element.PaperTabElement Maven / Gradle / Ivy

There is a newer version: 1.9.3.1
Show newest version
/*
 * This code was generated with Vaadin Web Component GWT API Generator, 
 * from paper-tabs project by The Polymer Authors
 * that is licensed with http://polymer.github.io/LICENSE.txt license.
 */
package com.vaadin.polymer.paper.element;

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

/**
 * 

paper-tab is styled to look like a tab. It should be used in conjunction with
paper-tabs.

*

Example:

*
<paper-tabs selected="0">
 *   <paper-tab>TAB 1</paper-tab>
 *   <paper-tab>TAB 2</paper-tab>
 *   <paper-tab>TAB 3</paper-tab>
 * </paper-tabs>
 * 
 * 
 * 

Styling

*

The following custom properties and mixins are available for styling:

* * * * * * * * * * * * * * * * * * * * * * * * * *
Custom propertyDescriptionDefault
--paper-tab-inkInk color--paper-yellow-a100
--paper-tabMixin applied to the tab{}
--paper-tab-contentMixin applied to the tab content{}
*/ @JsType public interface PaperTabElement extends HTMLElement { public static final String TAG = "paper-tab"; public static final String SRC = "paper-tabs/paper-tabs.html"; /** *

If true, ink ripple effect is disabled.

* * JavaScript Info: * @property noink * @type Boolean * */ @JsProperty boolean getNoink(); /** *

If true, ink ripple effect is disabled.

* * JavaScript Info: * @property noink * @type Boolean * */ @JsProperty void setNoink(boolean value); /** * * * JavaScript Info: * @property hostAttributes * @type Object * */ @JsProperty JavaScriptObject getHostAttributes(); /** * * * JavaScript Info: * @property hostAttributes * @type Object * */ @JsProperty void setHostAttributes(JavaScriptObject value); /** * * * JavaScript Info: * @property listeners * @type Object * */ @JsProperty JavaScriptObject getListeners(); /** * * * JavaScript Info: * @property listeners * @type Object * */ @JsProperty void setListeners(JavaScriptObject value); /** *

If true, the user cannot interact with this element.

* * JavaScript Info: * @property disabled * @type Boolean * @behavior PaperInput */ @JsProperty boolean getDisabled(); /** *

If true, the user cannot interact with this element.

* * JavaScript Info: * @property disabled * @type Boolean * @behavior PaperInput */ @JsProperty void setDisabled(boolean value); /** *

If true, the element currently has focus.

* * JavaScript Info: * @property focused * @type Boolean * @behavior PaperInput */ @JsProperty boolean getFocused(); /** *

If true, the element currently has focus.

* * JavaScript Info: * @property focused * @type Boolean * @behavior PaperInput */ @JsProperty void setFocused(boolean value); /** * * * JavaScript Info: * @property observers * @type Array * @behavior PaperInput */ @JsProperty JsArray getObservers(); /** * * * JavaScript Info: * @property observers * @type Array * @behavior PaperInput */ @JsProperty void setObservers(JsArray value); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy