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

com.vaadin.polymer.iron.widget.IronIcons Maven / Gradle / Ivy

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

import com.vaadin.polymer.iron.*;

import com.vaadin.polymer.*;
import com.vaadin.polymer.elemental.*;
import com.vaadin.polymer.PolymerWidget;
import com.google.gwt.core.client.JsArray;
import com.google.gwt.event.shared.HandlerRegistration;
import com.google.gwt.core.client.JavaScriptObject;

/**
 * 

iron-icons is a utility import that includes the definition for the iron-icon element, iron-iconset-svg element, as well as an import for the default icon set.

*

The iron-icons directory also includes imports for additional icon sets that can be loaded into your project.

*

Example loading icon set:

*
<link rel="import" href="../iron-icons/maps-icons.html">
 * 
 * 
 * 

To use an icon from one of these sets, first prefix your iron-icon with the icon set name, followed by a colon, “:”, and then the icon id.

*

Example using the directions-bus icon from the maps icon set:

*
<iron-icon icon="maps:directions-bus"></iron-icon>
 * 
 * To load a subset of icons from one of the default `iron-icons` sets, you can
 * use the [poly-icon](https://poly-icon.appspot.com/) tool. It allows you
 * to select individual icons, and creates an iconset from them that you can
 * use directly in your elements.
 * 
 * 
 * 

See iron-icon for more information about working with icons.

*

See iron-iconset and iron-iconset-svg for more information about how to create a custom iconset.

*/ public class IronIcons extends PolymerWidget { /** * Default Constructor. */ public IronIcons() { this(""); } /** * Constructor used by UIBinder to create widgets with content. */ public IronIcons(String html) { super(IronIconsElement.TAG, IronIconsElement.SRC, html); } /** * Gets a handle to the Polymer object's underlying DOM element. */ public IronIconsElement getPolymerElement() { return (IronIconsElement) getElement(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy