resize

调整大小插件
KISSY.use('editor',function(S,Editor){
    S.use('editor/plugin/resize',function(S,plugin){
        // use
    });
});

Configs

Editor.Plugin.resize.config.direction

Commands

Config Details

Editor.Plugin.image.config.direction

{String[]} - 右下角调整大小的配置.

Events Details

Editor.Events.resizeStart()
resizeStart()
调整开始时触发
Editor.Events.resize()
resize()
调整过程中周期触发

实例

{
    "resize": {
        //只能在y轴拖放, [“x”,”y”]表示任意拖放
        direction: ["y"]
    }
}