diff options
Diffstat (limited to 'thirdparty/preact/src/options.js')
-rw-r--r-- | thirdparty/preact/src/options.js | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/thirdparty/preact/src/options.js b/thirdparty/preact/src/options.js new file mode 100644 index 000000000..49869604e --- /dev/null +++ b/thirdparty/preact/src/options.js @@ -0,0 +1,27 @@ +/** Global options + * @public + * @namespace options {Object} + */ +export default { + + /** If `true`, `prop` changes trigger synchronous component updates. + * @name syncComponentUpdates + * @type Boolean + * @default true + */ + //syncComponentUpdates: true, + + /** Processes all created VNodes. + * @param {VNode} vnode A newly-created VNode to normalize/process + */ + //vnode(vnode) { } + + /** Hook invoked after a component is mounted. */ + // afterMount(component) { } + + /** Hook invoked after the DOM is updated with a component's latest render. */ + // afterUpdate(component) { } + + /** Hook invoked immediately before a component is unmounted. */ + // beforeUnmount(component) { } +}; |