Learn R Programming

shinylight (version 1.1.2)

toolkit.setAsBody: 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>