Skip to content

open(): void

Open menu. On desktop, by default it does nothing, because first level (headerlinks) is always visible. On mobile, it opens a menu layer.

Example

const menuViewController = document.querySelector('s-menu').viewController;

viewController.open();