fix: typo of onResizeEnd and remove

This commit is contained in:
mark.ck 2020-11-07 19:15:22 +08:00
parent a8a17492e9
commit 8df5f050d7
3 changed files with 3 additions and 2 deletions

1
.gitignore vendored
View File

@ -104,3 +104,4 @@ typings/
# codealike # codealike
codealike.json codealike.json
.node

View File

@ -178,7 +178,7 @@ export class BoxResizingInstance extends Component<{
typeof metaData.experimental.callbacks.onResizeEnd === 'function' typeof metaData.experimental.callbacks.onResizeEnd === 'function'
) { ) {
e.trigger = direction; e.trigger = direction;
metaData.experimental.callbacks.onResizeStart(e, node); metaData.experimental.callbacks.onResizeEnd(e, node);
} }
const editor = globalContext.get(Editor); const editor = globalContext.get(Editor);

View File

@ -30,7 +30,7 @@ export interface ComponentConfigure {
nestingRule?: NestingRule; nestingRule?: NestingRule;
rootSelector?: string; rootSelector?: string;
// copy,move,delete | * // copy, move, remove | *
disableBehaviors?: string[] | string; disableBehaviors?: string[] | string;
actions?: ComponentAction[]; actions?: ComponentAction[];
} }