Subscribe on changes!

binding.expression

avatar
Jan 27th 2021

What problem does this feature solve?

how can i get binding.expression in directive

What does the proposed API look like?

how can i get binding.expression in directive

avatar
Jan 27th 2021

edit

avatar
Jan 27th 2021

I not sure, but I think we should list the changes to the binding of custom directives in the migration guide. https://v3.vuejs.org/guide/migration/custom-directives.html

avatar
Jan 27th 2021

@xiachaoxulu can you open a PR or an issue at https://github.com/vuejs/docs-next to add the removal of binding.expression to the list of breaking changes

avatar
Apr 20th 2021

Greetings. Sorry for commenting on a closed issue. I need to access the raw expression passed to the directive in Vue 3. Is there a way to do so? I need to process it.