update symbols example
This commit is contained in:
parent
360c9833cf
commit
3286d80b40
1 changed files with 3 additions and 6 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
...
|
||||
This example shows the symbols that come with `Ox.UI`.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
@ -35,7 +35,7 @@ Ox.load('UI', function() {
|
|||
['unlock', 'lock'],
|
||||
['copyright', 'noCopyright'],
|
||||
['circle', 'square'],
|
||||
['icon', 'bracket', 'clock', 'switch', 'user']
|
||||
['bracket', 'clock', 'home', 'icon', 'switch', 'user']
|
||||
],
|
||||
symbols = Ox.flatten(groups),
|
||||
$menu = Ox.Bar({size: 48}),
|
||||
|
@ -57,10 +57,7 @@ Ox.load('UI', function() {
|
|||
.appendTo($buttons);
|
||||
});
|
||||
symbols.forEach(function(symbol) {
|
||||
Ox.Element({
|
||||
element: '<div>',
|
||||
tooltip: symbol
|
||||
})
|
||||
Ox.Element({tooltip: symbol})
|
||||
.addClass('OxGrid symbol')
|
||||
.append(
|
||||
$('<img>').attr({src: Ox.UI.getImageURL(
|
||||
|
|
Loading…
Reference in a new issue