toolkit.setAsBody: JavaScript function: Replaces the '<main>' tag in the...

toolkit.setAsBodyR 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>


shinylight documentation built on May 29, 2024, 12:04 p.m.