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

com.vaadin.polymer.paper.element.PaperIconItemElement 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-item project by The Polymer Authors
 * that is licensed with MIT 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-icon-item> is a convenience element to make an item with icon. It is a non interactive list
item with a fixed-width icon area, according to Material Design. This is useful if the icons are of
varying widths, but you want the item bodies to line up. Use this like a <paper-item>. The child
node with the attribute item-icon is placed in the icon area.

*
<paper-icon-item>
 *   <iron-icon icon="favorite" item-icon></iron-icon>
 *   Favorite
 * </paper-icon-item>
 * <paper-icon-item>
 *   <div class="avatar" item-icon></div>
 *   Avatar
 * </paper-icon-item>
 * 
 * 
 * 

Styling

*

The following custom properties and mixins are available for styling:

* * * * * * * * * * * * * * * * * * * * *
Custom propertyDescriptionDefault
--paper-item-icon-widthWidth of the icon area56px
--paper-icon-itemMixin applied to the item{}
*/ @JsType public interface PaperIconItemElement extends HTMLElement { public static final String TAG = "paper-icon-item"; public static final String SRC = "paper-item/all-imports.html"; /** * * * JavaScript Info: * @property hostAttributes * @type Object * */ @JsProperty JavaScriptObject getHostAttributes(); /** * * * JavaScript Info: * @property hostAttributes * @type Object * */ @JsProperty void setHostAttributes(JavaScriptObject value); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy