standalone property

bool standalone
final

Emits a top-level <main> and an <h1> when true. Set this to false when the page is nested inside a scaffold that already owns the main landmark; the root then becomes a labeled <section> with an <h2>.

Implementation

final bool standalone;