standalone property

  1. @override
bool get standalone
inherited

Return the value of the standalone directive.

Implementation

@override
bool get standalone => getAttribute(standaloneAttribute) == 'yes';
  1. @override
set standalone (bool? value)
inherited

Set the value of the standalone directive.

Implementation

@override
set standalone(bool? value) => setAttribute(
    standaloneAttribute,
    value == null
        ? null
        : value
            ? 'yes'
            : 'no');