kopia lustrzana https://github.com/c9/core
small fixes for sync
rodzic
870ea43380
commit
02f401d368
Plik binarny nie jest wyświetlany.
Po Szerokość: | Wysokość: | Rozmiar: 1.8 KiB |
Plik binarny nie jest wyświetlany.
Po Szerokość: | Wysokość: | Rozmiar: 1.9 KiB |
|
@ -33568,6 +33568,8 @@ apf.splitbutton = function(struct, tagName) {
|
|||
var _self = this;
|
||||
this.$ext = this.$pHtmlNode.appendChild(document.createElement("div"));
|
||||
this.$ext.className = "splitbutton";
|
||||
if (this.getAttribute("style"))
|
||||
this.$ext.setAttribute("style", this.getAttribute("style"));
|
||||
|
||||
var skin = this["button-skin"] || this.getAttribute("skin") || this.localName;
|
||||
|
||||
|
|
|
@ -951,6 +951,9 @@ define(function(require, exports, module) {
|
|||
aml = new ui.menu({
|
||||
id: options.id,
|
||||
zindex: options.zindex,
|
||||
visible: options.visible,
|
||||
width: options.width,
|
||||
height: options.height,
|
||||
"onprop.visible" : function(e) {
|
||||
emit(e.value ? "show" : "hide", lastCoords);
|
||||
checkItems.call(this, e);
|
||||
|
@ -1057,6 +1060,18 @@ define(function(require, exports, module) {
|
|||
*/
|
||||
get zindex(){ return aml && ui.getStyle(aml.$ext, "z-index"); },
|
||||
set zindex(value) { aml && aml.setAttribute("zindex", value); },
|
||||
/**
|
||||
* Specifies the width of the menu
|
||||
* @property {Number} width
|
||||
*/
|
||||
get width(){ return aml && aml.getWidth(); },
|
||||
set width(value) { aml && aml.setAttribute("width", value); },
|
||||
/**
|
||||
* Specifies the height of the menu
|
||||
* @property {Number} height
|
||||
*/
|
||||
get height(){ return aml && aml.getHeight(); },
|
||||
set height(value) { aml && aml.setAttribute("height", value); },
|
||||
/**
|
||||
* The menu items appended to this menu
|
||||
* @property {MenuItem[]} items
|
||||
|
|
Ładowanie…
Reference in New Issue