diff --git a/api/@internal/component/ets/checkboxgroup.d.ts b/api/@internal/component/ets/checkboxgroup.d.ts index 14a2221a4cdbcb6b8903ed111cf84f9e22db54d0..7aa50a89f9248ca4db15dafd830f7c8634f32698 100644 --- a/api/@internal/component/ets/checkboxgroup.d.ts +++ b/api/@internal/component/ets/checkboxgroup.d.ts @@ -47,6 +47,23 @@ declare interface CheckboxGroupOption { group?: string; } +/** + * Defines the option of CheckboxGroupResult. + * @since 8 + */ +declare interface CheckboxGroupResult { + /** + * Checkbox name. + * @since 8 + */ + name: Array; + /** + * Set the group of status. + * @since 8 + */ + status: SelectStatus; +} + /** * Provides an interface for the CheckboxGroup component. * @since 8 @@ -81,7 +98,7 @@ declare class CheckboxGroupAttribute extends CommonMethod, status: SelectStatus) => void): CheckboxGroupAttribute; + onChange(callback: (event: CheckboxGroupResult) => void): CheckboxGroupAttribute; } declare const CheckboxGroup: CheckboxGroupInterface;