Expansion panels can be opened or closed using the clicking the header. They can also be set to expanded on component load. However, it would be nice to have the ability to open and close the expansion panel programmatically.
For example, I am using an expansion panel to hide a search form. I would like to close the expansion panel when the user clicks the search button and begins a search.
You can control expansion panel visibility with v-model or the value prop: https://codepen.io/anon/pen/wPvoyx?editors=1010
Most helpful comment
You can control expansion panel visibility with
v-modelor thevalueprop: https://codepen.io/anon/pen/wPvoyx?editors=1010