Connect: { document?: Document; id: string; range: string; warn?: boolean }

Options for StyleManager.connect.

Type declaration

  • Optionaldocument?: Document

    Target document to load styles into.

    window.document

  • id: string

    Required CSS ID providing a link to a specific style sheet element.

  • range: string

    A semver version or range string representing the version / level of styles supported in connecting to an existing dynamic styles implementation.

  • Optionalwarn?: boolean

    When true, log warnings on why connecting failed.

    false