yoso-icons
v2.1.6
Published
This module contains all SVG icons and their animations
Downloads
3
Readme
yoso-icons
This module contains all SVG icons and their animations
Aniatied Icons
SVG Files with animations are required and stored in the script. Once they're applied, the SVG elmemnt will be appended to the DOM thus making its child elements accessible via script for the animation
Static Icons
Static SVG files will be copied to a defined static folder in the compiled app and the directive will create an IMG element and set the src attribute to the respective file in the static folder.
The FileLoader in the WebPack build workflow will copy the files to the app folder and thus make them available in the application
Install
$ npm install --save [email protected]:gfke/yoso-icons.git
$ npm install --save yoso-icons
Usage
<yoso-icons
class="yoso-datepicker"
icon-name="hamburger">
</yoso-icons>
Parameters/Attributes
icon-name
The name of the icon that should be loaded