📄 application.transitionpane.js
字号:
/** * Creates a new TransitionPane. * * @constructor * @class TransitionPane component. * @base EchoApp.Component */ExtrasApp.TransitionPane = Core.extend(EchoApp.Component, { $static: { /** * Default duration time (350ms). */ DEFAULT_DURATION: 350, /** * Default transition type (immediate replace). */ DEFAULT_TYPE: 0, /** * Transition setting indicating new content should immediately * final int replace old content with no visual effect. */ TYPE_IMMEDIATE_REPLACE: 0, /** * Transition setting describing a visual effect where the * viewing area pans to the left to realize the new content. * Old content exits to the right side of the screen. * New content enters from the left side of the screen. */ TYPE_CAMERA_PAN_LEFT: 1, /** * Transition setting describing a visual effect where the * viewing area pans to the right to realize the new content. * Old content exits to the left side of the screen. * New content enters from the right side of the screen. */ TYPE_CAMERA_PAN_RIGHT: 2, /** * Transition setting describing a visual effect where the * viewing area pans up to realize the new content. * Old content exits to the bottom of the screen. * New content enters from the top of the screen. */ TYPE_CAMERA_PAN_UP: 3, /** * Transition setting describing a visual effect where the * viewing area pans to up to realize the new content. * Old content exits to the top of the screen. * New content enters from the bottom of the screen. */ TYPE_CAMERA_PAN_DOWN: 4, /** * A horizontal blind effect with a black background. * Top of blinds rotate inward. */ TYPE_BLIND_BLACK_IN: 5, /** * A horizontal blind effect with a black background. * Top of blinds rotate outward. */ TYPE_BLIND_BLACK_OUT: 6, /** * Fades to black, fades in new content. */ TYPE_FADE_TO_BLACK: 7, /** * Fades to white, fades in new content. */ TYPE_FADE_TO_WHITE: 8, /** * Fades to new content over old content. */ TYPE_FADE: 9 }, $load: function() { EchoApp.ComponentFactory.registerType("ExtrasApp.TransitionPane", this); }, componentType: "ExtrasApp.TransitionPane", pane: true});
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -