2.1.6 • Published 10 years ago

yoso-icons v2.1.6

Weekly downloads
16
License
none
Repository
-
Last release
10 years ago

yoso-icons

wercker status

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 git@github.com: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

2.1.6

10 years ago

2.1.5

10 years ago

2.1.4

10 years ago