standalone property

bool standalone
final

Emits a top-level <main> and viewport-filling layout when true. Set to false when placing the surface inside a scaffold that already owns its main landmark; the root then becomes a labeled <section>.

Implementation

final bool standalone;