-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to access component methods from parent? #451
Comments
Give the function definition for trigger inside the child component and bind it to @trigger Then you can trigger the trigger event by calling $refs.<child_ref_name>.toggleFullscreen() This should work 👍 |
Hi, please use forum for questions. Thanks! |
@jonafrankbrimma Thanks :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
First of all, many thanks to Razvan for this amazing framework and yet another release!
Does anyone know how to access the component methods described in the docs?
For example:
http://quasar-framework.org/components/slider.html
has goToSlide and toggleFullscreen()
http://quasar-framework.org/components/pull-to-refresh.html
has @trigger
Can I invoke those programmatically from within the parent component?
The text was updated successfully, but these errors were encountered: