Skip to content
This repository has been archived by the owner on Feb 14, 2023. It is now read-only.

Make basic operation become 2 way data binding #8

Open
4 tasks
DrSensor opened this issue Jan 2, 2018 · 0 comments
Open
4 tasks

Make basic operation become 2 way data binding #8

DrSensor opened this issue Jan 2, 2018 · 0 comments

Comments

@DrSensor
Copy link
Owner

DrSensor commented Jan 2, 2018

Make this events able v-bind by invoking <op>.sync

  • :select.sync="element"
  • :unselect.sync="element"
  • :delete.sync="element"
  • :add.sync="element"

Tips: use watch: { <op>: val => operation() } to listen when the props changed (assigned)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant