Wrapper class for http://lipis.github.io/flag-icon-css/.

Class name

E.widget.flagicon (0.2.0)

Methods

Method Parameters Returns Description Example
attr key, value this Add attribute key/value to component attr('id','myicon')
build string Build string of component markup build()
append jquery selector boolean Build and append string to DOM append('#mydiv')
square this Set square mode (.flag-icon-squared) square()

Examples

Default
Square
Last modified: 2016-02-05