Create a glyphicon using polymer elements. Icon value is the icon name using in bootstrap but removing glyphicon
and glyphicon-
style. For example:
- glyphicon-pencil is pencil
- glyphicon-star is star
- ...
<bs-glyphicon icon="pencil"></bs-glyphicon>
Attribute | Description | Type | Default |
---|---|---|---|
icon | Icon that the component will show | String | ' ' |
Custom Property | Description | Default |
---|---|---|
--bs-glyphicon-size | Change glyphicon size | 12px |
--bs-glyphicon-style | Mixin applied to bs-glyphicon | { } |
Element dependencies are managed via Bower. You can install that via:
npm install -g bower
Then, go ahead and download the element's dependencies:
bower install