How to close and open drawers from a snippet ?

When a check box is selected I want to open the drawers for all rows in the table and close when deselected.

How to close the drawers from snippet ?  any API access we have to access it ?

Thanks. 

This may help: https://community.skuid.com/t/javascript-to-open-drawer-and-or-conditionally-render-ro…

Also, a query of the table’s model will close all of its drawers. You could probably also just .render() your table.