commit 3d60aab3ca9eb89de9055020bb8b3257c011e036 parent 863807023d63598f1a3661ff2740d57194d50994 Author: unitehenry <unitehenry@gmail.com> Date: Thu, 24 Oct 2019 09:20:29 -0400 README Diffstat:
| M | README.md | | | 19 | +++++++++++++++++++ |
1 file changed, 19 insertions(+), 0 deletions(-)
diff --git a/README.md b/README.md @@ -78,6 +78,25 @@ export default { </script> ``` +### Custom Toolbar Options with Vue + +```js +<template> + <striven-editor :custom-toolbar-button="customButton" /> + <button ref="customButton">Send</button> +</template> + +<script> +export default { + data () { + return { + customButton: () => this.$refs.customButton + } + } +} +</script> +``` + ## Knockout Binding ```js