| 12345678910111213141516171819202122232425262728293031323334353637 |
- (function(){
- TrexConfig.addTool(
- "fullscreen", {
- wysiwygonly: _FALSE,
- status: _FALSE,
- switched: _FALSE,
- minHeight: 200,
- minWidth: 766,
- asyncUrl: "trex/tool/async/fullscreen.js"
- }
- );
-
- Trex.Tool.FullScreen = Trex.Class.create({
- $const: {
- __Identity: 'fullscreen'
- },
- $extend: Trex.AsyncTool,
- oninitialized: function(config) {
- this.weave.bind(this)(
- new Trex.Button(this.buttonCfg),
- _NULL,
- this.onLoadModule // define in Trex.AsyncTool
- );
-
- var self = this;
- // #FTDUEDTR-150
- this.bindKeyboard({ // ctrl + m - 넓게쓰기
- ctrlKey: _TRUE,
- keyCode: 77
- }, function () {
- if (!self.loaded) {
- self.onLoadModule();
- }
- });
- }
- });
- })();
|