Parameters for ViewProfiles.

interface ViewProfilesParams {
    activeProfile?: string;
    profiles?: Record<string, ViewEffectProperties>;
}

Properties

activeProfile?: string

Initially active profile ID. Use null or omit this property to leave the View outside profile control.

profiles?: Record<string, ViewEffectProperties>

Profile registry keyed by application-defined profile ID.

Profile definitions are cloned when loaded into ViewProfiles.