flare.icons
Components for displaying icons.
Module Contents
Classes
A raw, embedded SVG icon-component. |
|
Icon component with first-letter fallback, normally shown as embedded SVG. |
|
A badge icon is an icon-component with a little badge, e.g. a number of new messages or items in the cart or so. |
- class flare.icons.SvgIcon(value=None, fallbackIcon=None, title='')
Bases:
flare.html5.svg.Svg
A raw, embedded SVG icon-component.
- _leafTag = True
- _setValue(value)
- _setTitle(val)
Advisory information associated with the element.
- Parameters:
val – str
- getIcon()
- replaceSVG(icondata)
- requestFallBack(data, status)
- class flare.icons.Icon(value=None, fallbackIcon=None, title='', classes=[])
Bases:
flare.html5.I
Icon component with first-letter fallback, normally shown as embedded SVG.
- _leafTag = True
- _setValue(value)
- _setTitle(val)
Advisory information associated with the element.
- Parameters:
val – str
- _setFallback(val)
- onError()