ui: simplify icon insertion in labels, using '^' as prefix

This commit is contained in:
jean-emmanuel 2016-11-24 00:51:13 +01:00
parent 4651cc7c5d
commit 0c922f8184
5 changed files with 14 additions and 10 deletions

View file

@ -42,7 +42,7 @@ A widget object is a javascript object. All widgets share a set of generic prope
- default: `auto`, which displays `id`
- usage:
- set to `false` to hide completely
- set to `icon: fontawesome-class` to display an icon from [FontAwesome](http://fontawesome.io/icons/) (replace `fontawesome-class` with the icon's name)
- insert icons from [FontAwesome](http://fontawesome.io/icons/) using the prefix `^` followed by the icon's name : `made with ^heart`, etc
#### `top` / `left`
- type: `number|percentage`