This repository has been archived by the owner on Mar 13, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update icon doc comments, metadata edits
- Loading branch information
Scott J. Miles
committed
Sep 3, 2013
1 parent
7acce86
commit 78a7b95
Showing
3 changed files
with
65 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
<x-meta id="polymer-ui-icon-button" label="Polymer Icon Button"> | ||
<!-- | ||
/** | ||
* @module Polymer UI Elements | ||
*/ | ||
/** | ||
* polymer-ui-icon-button enables you to place an image centered in a button. | ||
* | ||
* Example: | ||
* | ||
* <polymer-ui-icon-button src="star.png"></polymer-ui-icon-button> | ||
* | ||
* Polymer includes an icon set. The property "icon" can be used | ||
* to specify which icon to use. | ||
* | ||
* Example: | ||
* | ||
* <polymer-ui-icon-button icon="menu"></polymer-ui-icon-button> | ||
* | ||
* @class polymer-ui-icon-button | ||
*/ | ||
--> | ||
<template> | ||
<polymer-ui-icon-button icon="menu" theme="polymer-ui-light-theme"></polymer-ui-icon-button> | ||
</template> | ||
<!-- | ||
/** | ||
* The URL of an image for the icon. | ||
* | ||
* @attribute src | ||
* @type string | ||
* @default '' | ||
*/ | ||
/** | ||
* If true, border is placed around the button to indicate | ||
* active state. | ||
* | ||
* @attribute active | ||
* @type boolean | ||
* @default false | ||
*/ | ||
/** | ||
* Specifies the icon from the Polymer icon set. | ||
* | ||
* @attribute icon | ||
* @type string | ||
* @default '' | ||
*/ | ||
--> | ||
<property name="index" hidden="true"></property> | ||
<!-- | ||
/** | ||
* If a theme is applied that includes an icon set, the index of the | ||
* icon to display. | ||
* | ||
* @attribute index | ||
* @type number | ||
* @default -1 | ||
*/ | ||
--> | ||
</x-meta> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters