@ecomfe/san-devhook
Advanced tools
Comparing version 0.1.8 to 0.1.9
@@ -5,4 +5,11 @@ ChangeLog | ||
0.1.7 | ||
0.1.9 | ||
------- | ||
- [ADD] | ||
- showTree() function to display component tree in browser's console. | ||
- __SAN_PROPS__ binded to DOM object. | ||
0.1.8 | ||
------- | ||
- [BUGFIX] | ||
@@ -9,0 +16,0 @@ - Recalculate index list for attaching or detaching component programmatically. |
{ | ||
"name": "@ecomfe/san-devhook", | ||
"version": "0.1.8", | ||
"version": "0.1.9", | ||
"description": "Hook for san-devtool.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -22,2 +22,3 @@ # San-DevHook | ||
subKey: 'treeData', // Key for the array of sub component tree. | ||
prefixForBindingData: 'my', // Auto bing data and props using specified prefix. | ||
conditions: [{ | ||
@@ -59,2 +60,3 @@ listeners: ['onAfterGenerateData', e => { }], | ||
- retrieveData(): Emit onRetrieveData. | ||
- showTree(): Display the component tree. | ||
@@ -65,2 +67,3 @@ #### Objects binding on DOM | ||
- `__SAN_DATA__`: The component data. | ||
- `__SAN_PROPS__`: The component props. | ||
- `__SAN_CNODE__`: A CNode instance of component acts as a serializable object. | ||
@@ -67,0 +70,0 @@ - `__SAN_PATH__`: Ancestor component ID list. |
Sorry, the diff of this file is too big to display
2475
80
118549