Are vnode-mounted vnode-update or vue:update lifehook event deprecated? #8980
Unanswered
jackchoumine
asked this question in
Help/Questions
Replies: 1 comment
-
const target = ref();
const rect = target.value.$el.getBoundingClientRect(); <MyComponent ref="target" /> |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I can not find them in docs.
another question:
I want to get dom width after updated ,but I get dom style by
vnode-updated
lifehook event, this style object value is empty string, why ?I can not get dom size.
Beta Was this translation helpful? Give feedback.
All reactions