From 5a6a92806c19a1639365c5ae392814ca1a3565d0 Mon Sep 17 00:00:00 2001 From: Harvey Date: Mon, 14 Feb 2022 09:57:38 +0800 Subject: [PATCH] update ts --- docs/assets/ts/artplayer.d.ts | 7 +++++-- packages/artplayer/types/artplayer.d.ts | 7 +++++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/docs/assets/ts/artplayer.d.ts b/docs/assets/ts/artplayer.d.ts index 8132e6e33..73a0242c5 100644 --- a/docs/assets/ts/artplayer.d.ts +++ b/docs/assets/ts/artplayer.d.ts @@ -441,6 +441,11 @@ type Option = { fullscreenWeb?: HTMLElement | string; pip?: HTMLElement | string; indicator?: HTMLElement | string; + arrowLeft?: HTMLElement | string; + arrowRight?: HTMLElement | string; + playbackRate?: HTMLElement | string; + aspectRatio?: HTMLElement | string; + config?: HTMLElement | string; }; /** @@ -591,8 +596,6 @@ declare class Artplayer extends Player { readonly $mask: HTMLElement; readonly $state: HTMLElement; readonly $setting: HTMLElement; - readonly $settingInner: HTMLElement; - readonly $settingBody: HTMLElement; readonly $info: HTMLElement; readonly $infoPanel: HTMLElement; readonly $infoClose: HTMLElement; diff --git a/packages/artplayer/types/artplayer.d.ts b/packages/artplayer/types/artplayer.d.ts index 8132e6e33..73a0242c5 100644 --- a/packages/artplayer/types/artplayer.d.ts +++ b/packages/artplayer/types/artplayer.d.ts @@ -441,6 +441,11 @@ type Option = { fullscreenWeb?: HTMLElement | string; pip?: HTMLElement | string; indicator?: HTMLElement | string; + arrowLeft?: HTMLElement | string; + arrowRight?: HTMLElement | string; + playbackRate?: HTMLElement | string; + aspectRatio?: HTMLElement | string; + config?: HTMLElement | string; }; /** @@ -591,8 +596,6 @@ declare class Artplayer extends Player { readonly $mask: HTMLElement; readonly $state: HTMLElement; readonly $setting: HTMLElement; - readonly $settingInner: HTMLElement; - readonly $settingBody: HTMLElement; readonly $info: HTMLElement; readonly $infoPanel: HTMLElement; readonly $infoClose: HTMLElement;