Properties
click
click: ((params) => void)
Type declaration
-
- (params): void
-
Returns void
disable
disable: ((options) => void)
Type declaration
-
- (options): void
-
Parameters
-
options: {
userAction: boolean;
}
Returns void
dispose
dispose: (() => void)
enable
enable: ((options) => void)
Type declaration
-
- (options): void
-
Parameters
-
options: {
userAction: boolean;
}
Returns void
exposure
exposure: ((params) => void)
Type declaration
-
- (params): void
-
Parameters
-
params: {
id: TagId;
type: "end" | "start";
}
Returns void
hide
hide: ((options) => void)
Type declaration
-
- (options): void
-
Parameters
-
options: {
userAction: boolean;
withAnimation: boolean;
}
-
userAction: boolean
-
withAnimation: boolean
Returns void
loadVideoFirstFrame
loadVideoFirstFrame: (() => void)
playStateChange
playStateChange: ((params) => void)
Type declaration
-
- (params): void
-
Parameters
-
params: {
event: Event;
mediaInstance: HTMLMediaElement;
state: "playing" | "paused";
tag: TagInstance;
}
-
event: Event
-
mediaInstance: HTMLMediaElement
-
state: "playing" | "paused"
-
Returns void
show
show: ((options) => void)
Type declaration
-
- (options): void
-
Parameters
-
options: {
userAction: boolean;
withAnimation: boolean;
}
-
userAction: boolean
-
withAnimation: boolean
Returns void
stateChange
stateChange: ((params) => void)
Type declaration
-
- (params): void
-
Parameters
-
params: {
prevState?: State;
state: State;
userAction: boolean;
}
-
Optional prevState?: State
-
-
userAction: boolean
Returns void
插件被销毁