diff --git a/api/@internal/component/ets/badge.d.ts b/api/@internal/component/ets/badge.d.ts index a8e9684092c0d88ab3c68b75450145232b719b10..509c2774e84a9fa7ab159c715422d47dec96957f 100644 --- a/api/@internal/component/ets/badge.d.ts +++ b/api/@internal/component/ets/badge.d.ts @@ -137,6 +137,11 @@ interface BadgeInterface { * @since 7 */ (value: BadgeParamWithString): BadgeAttribute; + /** + * value: visible status of badge. + * @since 8 + */ + visible(value?: boolean) : BadgeAttribute; } /** diff --git a/api/@internal/component/ets/sidebar.d.ts b/api/@internal/component/ets/sidebar.d.ts index d03148ce7d619b89f07524da54f550743e71da0c..083b948e47a5591ec05453c67190cad015912084 100644 --- a/api/@internal/component/ets/sidebar.d.ts +++ b/api/@internal/component/ets/sidebar.d.ts @@ -61,7 +61,7 @@ declare interface ButtonStyle { * Set the button icon when sidebar status has changed * @since 8 */ - icons?: {shown:string, hidden: string, switching?: string} + icons?: {shown:string | PixelMap | Resource, hidden: string | PixelMap | Resource, switching?: string | PixelMap | Resource} } /** @@ -75,7 +75,7 @@ interface SideBarContainerInterface { */ (options?: { showSideBarContainer?: boolean, style?: SideBarContainerStyle, - buttonAtt?: ButtonStyle}): SideBarContainerAttribute; + buttonAttr?: ButtonStyle}): SideBarContainerAttribute; } /**