How about add other directives in custom directive? #5950
SnowingFox
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
For example about a custom directive
v-form
it can help us to use
v-model
, then we can use function expression and bindv-model
to another contextDirective
Component
useForm
As same as
<input v-model="model" />
, it can be transformed intoWe can add other directives to the components which bind with custom directive.
Beta Was this translation helpful? Give feedback.
All reactions