Options for StyleManager.connect.

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

Properties

Properties

document?: 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.

warn?: boolean

When true, log warnings on why connecting failed.

false