commit 113c033f76c8144f8174b3efe99886b4e3afcdb8
parent 7bdabda8ed94497c140339563a10dafffc63d921
Author: Jan Dankert <develop@jandankert.de>
Date: Tue, 28 Jan 2020 21:53:46 +0100
Increased doc.
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/README.md b/README.md
@@ -50,9 +50,11 @@ You are able to set some configuration settings for the plugin:
- `updateDOM`: Should the DOM elements be updated after the data model has changed? Default: yes.
- `updateModel`: Should the data model be updated after user input? Default: yes.
+- `prefix`: Prefix for data binding attributes. Default: 'binding'.
- `debug`: the debug mode is logging to the browser console. Default: off.
- `afterBind`: a user callback which is called after the initial bind.
- `onModelUpdate`: a user callback which is called after the data model has changed.
+- `addUpdateHook`: adds an `update()` function to the data object (Default: no)
## FAQ