mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-28 02:01:20 -08:00
add beforeUnmount
This commit is contained in:
1 parent
645e2e2ec3
commit
13f3398765
4 files changed
+15
-4
No files matched your search
+6
-1
@@ -91,10 +91,15 @@ export type ComponentOption = {
|
||||
click?(this: Artplayer, component: Component, event: Event): void;
|
||||
|
||||
/**
|
||||
* Wnen the component was mounted
|
||||
* When the component was mounted
|
||||
*/
|
||||
mounted?(this: Artplayer, element: HTMLElement): void;
|
||||
|
||||
/**
|
||||
* When the component was before unmount
|
||||
*/
|
||||
beforeUnmount?(this: Artplayer, element: HTMLElement): void;
|
||||
|
||||
/**
|
||||
* Component tooltip, use in controls
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user