Ox.MenuButton: add 'overlap' option
This commit is contained in:
parent
7ff601a0a4
commit
716db744b9
1 changed files with 2 additions and 0 deletions
|
@ -33,6 +33,7 @@ Ox.MenuButton = function(options, self) {
|
||||||
id: '',
|
id: '',
|
||||||
items: [],
|
items: [],
|
||||||
maxWidth: 0,
|
maxWidth: 0,
|
||||||
|
overlap: 'none',
|
||||||
style: 'rounded',
|
style: 'rounded',
|
||||||
title: '',
|
title: '',
|
||||||
type: 'text',
|
type: 'text',
|
||||||
|
@ -72,6 +73,7 @@ Ox.MenuButton = function(options, self) {
|
||||||
|
|
||||||
self.$button = Ox.Button({
|
self.$button = Ox.Button({
|
||||||
id: self.options.id + 'Button',
|
id: self.options.id + 'Button',
|
||||||
|
overlap: self.options.overlap,
|
||||||
style: 'symbol',
|
style: 'symbol',
|
||||||
title: self.options.type == 'text' || !self.options.title
|
title: self.options.type == 'text' || !self.options.title
|
||||||
? 'select' : self.options.title,
|
? 'select' : self.options.title,
|
||||||
|
|
Loading…
Reference in a new issue