Skip to content

KingsOnline/adapt-component-icon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

adapt-component-icon

Adds an text or html icon next to a component.

Usage

The _iconName attribute (html icon) will override src (image icon). If both attributes are blank the extension will not be applied.

src

(String) A link to a image file.

_iconName

(String) The name of the HTML icon you wish to use. The full list is available here. The .icon- prefix and :before suffix are not required.

position

(String) The position to display the icon. Only supports left or right.

Limitations

Framework version 2.0.10 + required for Handlebars support.


Version number: 0.1.2 Framework versions: ^2.0.10 Maintainer: Simon Date

About

Add an accompanying icon to a component

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published