What is the `ref` in `<q-layout>` used for?
refis often set as an attribute for
<q-layout>in the documentation. I cannot find an explanation for this, though.
<q-layout ref=“layout” view=“hHr LpR lFf” >
In what scenario should I use this?
allows you to reference it somewhere in your code…
look here: http://quasar-framework.org/components/layout.html
benoitranque last edited by
its a reference to that component, allows you to access its methods. so you can do