diff --git a/api/@internal/component/ets/common.d.ts b/api/@internal/component/ets/common.d.ts index 77f868468c59d3fcc136b1f3ee4091be741e8a8f..879ff7ef5d59821857515c31b024b73f01b3a3d0 100644 --- a/api/@internal/component/ets/common.d.ts +++ b/api/@internal/component/ets/common.d.ts @@ -677,6 +677,13 @@ interface PopupOption { * @since 7 */ onStateChange?: (event: { isVisible: boolean }) => void; + + /** + * Defines whether popup use gaussian blur. + * The defalut value is false. + * @since 8 + */ + useBlur?: boolean; } interface CustomPopupOption { @@ -721,6 +728,13 @@ interface CustomPopupOption { * @since 8 */ onStateChange?: (event: { isVisible: boolean }) => void; + + /** + * Defines whether popup use gaussian blur. + * The defalut value is false. + * @since 8 + */ + useBlur?: boolean; } /** diff --git a/api/@internal/component/ets/list_item.d.ts b/api/@internal/component/ets/list_item.d.ts index 5aca6bdc29484fd8d61482c22223165973639956..701c32930aacc6b36b761d9dd85775cc7b1e1acd 100644 --- a/api/@internal/component/ets/list_item.d.ts +++ b/api/@internal/component/ets/list_item.d.ts @@ -64,8 +64,15 @@ declare enum EditMode { } /** - * @since 7 + * Defines the select style of list item. + * @since 8 */ +interface ListItemSelectStyle { + /** + * Defines the select icon src. + */ + icon: ResourceStr | PixelMap; +} /** * Values in the list @@ -117,7 +124,7 @@ declare class ListItemAttribute extends CommonMethod { * Called when judging whether it is selectable. * @since 8 */ - selectable(value: boolean): ListItemAttribute; + selectable(value: boolean, style?: ListItemSelectStyle): ListItemAttribute; /** * Called when the listItem is selected. @@ -131,4 +138,3 @@ declare class ListItemAttribute extends CommonMethod { */ declare const ListItemInstance: ListItemAttribute; declare const ListItem: ListItemInterface; -