IClassic interface
đ Descriptionâ
Properties interface for configuring a runner instance using the run
function.
đ Type declarationâ
interface IClassic { element?: HTMLElement;Optional definition?: IDefinition | Promise<IDefinition | undefined>;Optional snapshot?: ISnapshot | Promise<ISnapshot | undefined>;Optional styles?: IClassicStyles | Promise<IClassicStyles | undefined>;Optional l10n?: IL10n | Promise<IL10n | undefined>;Optional license?: string | Promise<string | undefined>;Optional view?: "live" | "test" | "preview";Optional display?: "inline" | "page";Optional removeBranding?: boolean;Optional persistent?: boolean;Optional className?: string;Optional customStyle?: CSSProperties;Optional customCSS?: string;Optional attachments?: IRunnerAttachments;Optional language?: string;Optional locale?: L10n.ILocale | ((locale: string) => L10n.ILocale | Promise<L10n.ILocale | undefined> | undefined);Optional translations?: L10n.TTranslation | L10n.TTranslation[] | ((language: string, name: string, version: string) => L10n.TTranslation | L10n.TTranslation[] | Promise<L10n.TTranslation | L10n.TTranslation[] | undefined> | undefined);Optional builder?: Builder;Optional onReady?: (instance: Instance | undefined) => void;EventOptional onTouch?: () => void;EventOptional onAction?: ( type: "start" | "stage" | "unstage" | "focus" | "blur" | "pause" | "complete", definition: { fingerprint: string; name: string; }, block?: { id: string; name: string; alias?: string; } ) => void;Event