node-red-node-ui-list
Advanced tools
Comparing version 0.2.5 to 0.3.0
{ | ||
"name": "node-red-node-ui-list", | ||
"version": "0.2.5", | ||
"version": "0.3.0", | ||
"description": "Node-RED Dashboard UI widget node for simple list", | ||
@@ -5,0 +5,0 @@ "author": "Hiroyasu Nishiyama", |
@@ -29,2 +29,3 @@ node-red-node-ui-list | ||
- `icon_name` - Font Awesome 4.7 icon name (optional), | ||
- `icon_unicode` - text to use as icon - useful for unicode symbols like flags, etc (optional). | ||
- `menu` - list of menu items (optional). | ||
@@ -46,3 +47,5 @@ | ||
Icon can be specified by `icon` or `icon_name` property. `icon` specifies URL of icon image. If `icon` is `null`, blank icon is displayed. `icon_name` specifies an icon name of Font Awesome 4.7 icons (e.g. `fa-home`). `icon` has precedence over `icon_name`. | ||
Icon can be specified by `icon` or `icon_name` property. `icon` specifies URL of icon image. If `icon` is `null`, blank icon is displayed. `icon_name` specifies an icon name of Font Awesome 4.7 icons (e.g. `fa-home`). | ||
`icon_unicode` specifies text character to use as an icon, useful for displaying unicode symbols like flags, etc. | ||
`icon` has precedence over `icon_name` and `icon_unicode`. | ||
@@ -49,0 +52,0 @@ Example |
@@ -61,3 +61,4 @@ /** | ||
<md-icon aria-label="{{item.desc}}" ng-if="(item.icon === undefined) && (item.icon_name !== undefined)"><ui-icon icon="{{item.icon_name}}"></ui-icon></md-icon> | ||
<md-icon class="md-avatar-icon" aria-label="{{item.desc}}" ng-if="(item.icon === null) && (item.icon_name === undefined)"></md-icon> | ||
<span class="md-avatar" style="font-size:x-large; height:unset;" ng-if="(item.icon === undefined) && (item.icon_unicode !== undefined)"><h1>{{item.icon_unicode}}</h1></span> | ||
<md-icon class="md-avatar-icon" aria-label="{{item.desc}}" ng-if="(item.icon === null) && (item.icon_name === undefined) && (item.icon_unicode === undefined)"></md-icon> | ||
`; | ||
@@ -64,0 +65,0 @@ var body = null; |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
217840
544
351