diff --git a/api/@internal/component/ets/checkboxgroup.d.ts b/api/@internal/component/ets/checkboxgroup.d.ts index d46ef5b54b4037d95831717e0ba6868c9b06cd2a..70515b7c98aea8d104c9c89a57b2319100284b4d 100644 --- a/api/@internal/component/ets/checkboxgroup.d.ts +++ b/api/@internal/component/ets/checkboxgroup.d.ts @@ -435,6 +435,51 @@ interface CheckboxGroupInterface { */ declare type OnCheckboxGroupChangeCallback = (value: CheckboxGroupResult) => void; +/** + * CheckBoxGroupConfiguration used by content modifier. + * + * @extends CommonConfiguration + * @interface CheckBoxGroupConfiguration + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @crossplatform + * @atomicservice + * @since 21 + */ +declare interface CheckBoxGroupConfiguration extends CommonConfiguration { + /** + * Current name of checkboxgroup. + * + * @type { string } + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @crossplatform + * @atomicservice + * @since 21 + */ + name: string; + + /** + * Defines the select status of CheckboxGroup. + * + * @type { SelectStatus } + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @crossplatform + * @atomicservice + * @since 21 + */ + status: SelectStatus; + + /** + * Trigger checkboxgroup select change. + * + * @type { Callback } + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @crossplatform + * @atomicservice + * @since 21 + */ + triggerChange: Callback; +} + /** * Defines the attribute functions of CheckboxGroup. * @@ -744,6 +789,18 @@ declare class CheckboxGroupAttribute extends CommonMethod): CheckboxGroupAttribute; + + /** + * Set the content modifier of checkboxgroup. + * + * @param { Optional> } modifier - The content modifier of checkboxgroup. + * @returns { CheckboxGroupAttribute } + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @crossplatform + * @atomicservice + * @since 21 + */ + contentModifier(modifier: Optional>): CheckboxGroupAttribute; } /**