ShadowRootInit constructor
ShadowRootInit({
- required ShadowRootMode mode,
- bool? delegatesFocus,
- SlotAssignmentMode? slotAssignment,
Implementation
factory ShadowRootInit(
{required ShadowRootMode mode,
bool? delegatesFocus,
SlotAssignmentMode? slotAssignment}) =>
ShadowRootInit._(
mode: mode.value,
delegatesFocus: delegatesFocus ?? false,
slotAssignment:
slotAssignment?.value ?? SlotAssignmentMode.named.value);