Toggle Tile View functions

Hi there.
There’s any function to toggle the tile view like APP.toggleTileView() or something?

Thank you very much.

APP.store.getState()["features/video-layout"].tileViewEnabled = false;

That’s it. Thank you very much.

we can do this too:

APP.store.dispatch({
type: ‘SET_TILE_VIEW’,
enabled: true or false
});

1 Like