@textbus/core
Advanced tools
Comparing version 4.0.0 to 4.0.1
@@ -16,5 +16,7 @@ import { Observable } from '@tanbo/stream'; | ||
onSelfChange: Observable<Action[]>; | ||
get irrevocableUpdate(): boolean; | ||
get dirty(): boolean; | ||
get changed(): boolean; | ||
parentModel: ProxyModel<any> | null; | ||
private _irrevocableUpdate; | ||
private _dirty; | ||
@@ -38,1 +40,6 @@ private _changed; | ||
} | ||
/** | ||
* 在回调函数内改变组件状态时,将更改的状态标记为不可撤回的 | ||
* @param fn | ||
*/ | ||
export declare function irrevocableUpdate(fn: () => void): void; |
@@ -52,4 +52,5 @@ import { Component, ComponentLiteral } from './component'; | ||
apply: Action[]; | ||
unApply: Action[]; | ||
source?: Component<any>; | ||
unApply: Action[]; | ||
irrevocable?: boolean; | ||
} | ||
@@ -56,0 +57,0 @@ export interface State { |
{ | ||
"name": "@textbus/core", | ||
"version": "4.0.0", | ||
"version": "4.0.1", | ||
"description": "Textbus is a rich text editor and framework that is highly customizable and extensible to achieve rich wysiwyg effects.", | ||
@@ -49,3 +49,3 @@ "main": "./bundles/index.js", | ||
}, | ||
"gitHead": "cf4fd289b73bc777124a32fe42bb58eba05a34f1" | ||
"gitHead": "650431b993553439e58d48949bd9cadda23fb147" | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
582281
15868