Internal API usage #8906
sxzz
started this conversation in
General Discussions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
app.configTo get global properties
instance.appContext.config.globalPropertiesinstance.uidinstance.proxy.$elTo get the current element. See useCurrentElement from VueUse.
getCurrentInstance()To check if in the setup lifecycle. See useMounted from VueUse.
instance.proxy.$props/instance.emitTo get props and emit function of current component
instance.proxy.$optionsinstance.parentinstance.vnode.propsGet raw props. see example
instance.$forceUpdateBeta Was this translation helpful? Give feedback.
All reactions