Commit 6e79243c authored by techird's avatar techird

Merge branch 'dev' of https://github.com/kitygraph/kityminder into dev

Conflicts:
	minder_module/module.render.js
parents ad872831 599d15fc
var mindermoduleRender = function () {
console.log( "render loaded" );
var commandDrawShape = kity.createClass( "commandDrawShape", {
base: Command,
"execute": function ( km, config ) {
var node = kity.createClass( {
base: kity.Group,
} );
}
} );
return {
"commands": {
//todo:command字典,name-action 键值对模式编写
ommandDrawRect: commandDrawShape
},
"events": {
//todo:事件响应函数绑定列表,事件名-响应函数 键值对模式编写
"click": function ( e ) {
},
"keydown keyup": function ( e ) {
}
}
};
};
\ No newline at end of file
......@@ -16,6 +16,10 @@ var KityMinder = km.KityMinder = kity.createClass( "KityMinder", {
this._root = new MinderNode( this );
this._rc.addShape( this._root.getRenderContainer() );
},
getDrawingArea: function () {
return this._paper;
}
} );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment