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.config
To get global properties
instance.appContext.config.globalProperties
instance.uid
instance.proxy.$el
To get the current element. See useCurrentElement from VueUse.
getCurrentInstance()
To check if in the setup lifecycle. See useMounted from VueUse.
instance.proxy.$props
/instance.emit
To get props and emit function of current component
instance.proxy.$options
instance.parent
instance.vnode.props
Get raw props. see example
instance.$forceUpdate
Beta Was this translation helpful? Give feedback.
All reactions