Button: handle overlay style
This commit is contained in:
parent
1c281889ff
commit
c97895f55d
1 changed files with 6 additions and 1 deletions
|
@ -147,7 +147,12 @@ Ox.Button = function(options, self) {
|
||||||
src: Ox.UI.getImageURL(
|
src: Ox.UI.getImageURL(
|
||||||
'symbol' + self.options.title[0].toUpperCase()
|
'symbol' + self.options.title[0].toUpperCase()
|
||||||
+ self.options.title.slice(1),
|
+ self.options.title.slice(1),
|
||||||
self.options.style == 'video' ? 'video'
|
self.options.style == 'overlay' ? 'overlay' + (
|
||||||
|
self.options.disabled ? 'Disabled'
|
||||||
|
: self.options.selectable && self.options.value ? 'Selected'
|
||||||
|
: ''
|
||||||
|
)
|
||||||
|
: self.options.style == 'video' ? 'video'
|
||||||
: self.options.disabled ? 'disabled'
|
: self.options.disabled ? 'disabled'
|
||||||
: self.options.selectable && self.options.value ? 'selected'
|
: self.options.selectable && self.options.value ? 'selected'
|
||||||
: ''
|
: ''
|
||||||
|
|
Loading…
Reference in a new issue