toolkit.setAsBody {shinylight}R Documentation

JavaScript function: Replaces the <main> tag in the document with this element.

Description

The element will have its resize event wired up. If el is a Toolkit Positioned Element, it will be resized correctly when the window is resized.

Arguments

el

HTMLElement The element to set as <main>


[Package shinylight version 1.2 Index]