You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
919 B
32 lines
919 B
Demo.North = BI.inherit(BI.Widget, { |
|
props: { |
|
baseCls: "demo-north" |
|
}, |
|
render: function () { |
|
var self = this; |
|
return { |
|
type: "bi.htape", |
|
items: [{ |
|
width: 230, |
|
el: { |
|
type: "bi.text_button", |
|
listeners: [{ |
|
eventName: BI.Button.EVENT_CHANGE, |
|
action: function () { |
|
self.fireEvent(Demo.North.EVENT_VALUE_CHANGE, "demo.face") |
|
} |
|
}], |
|
cls: "logo", |
|
height: 50, |
|
text: "FineUI2.0" |
|
} |
|
}, { |
|
el: { |
|
type: "bi.layout" |
|
} |
|
}] |
|
} |
|
} |
|
}); |
|
Demo.North.EVENT_VALUE_CHANGE = "EVENT_VALUE_CHANGE"; |
|
$.shortcut("demo.north", Demo.North); |