diff --git a/api/@internal/component/ets/panel.d.ts b/api/@internal/component/ets/panel.d.ts index 7b0dc56130c9196cf5272229e63b365692c675af..3fcadfe46d03b7d4f84a05e22605bb69155a4e8c 100644 --- a/api/@internal/component/ets/panel.d.ts +++ b/api/@internal/component/ets/panel.d.ts @@ -121,6 +121,12 @@ declare class PanelAttribute extends CommonMethod { */ show(value: boolean): PanelAttribute; + /** + * Called when the panel background mask is requested. + * @since 9 + */ + backgroundMask(color: number | string | Color): PanelAttribute; + /** * Called when the state of the slidable panel changes. * @since 7 @@ -146,6 +152,12 @@ declare class PanelAttribute extends CommonMethod { mode: PanelMode, ) => void, ): PanelAttribute; + + /** + * Called when height of the panel is changed + * @since 9 + */ + onHeightChange(callback: (value: number) => void): PanelAttribute; } declare const Panel: PanelInterface;