diff --git a/api/@internal/component/ets/common.d.ts b/api/@internal/component/ets/common.d.ts index 4155378988fee74cc8e853a2e48122e4f5d57e43..ebd861ee3da8ccfc37efe24e9447d407e8b93fd4 100644 --- a/api/@internal/component/ets/common.d.ts +++ b/api/@internal/component/ets/common.d.ts @@ -33889,6 +33889,18 @@ declare abstract class TextContentControllerBase { * @arkts 1.1&1.2 */ getText(range?: TextRange): string; + + /** + * Set the styled placeholder + * + * @param { StyledString } styledString - The styledString for placeholder. + * If the parameter is invalid, this method will have no effect. + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @crossplatform + * @atomicservice + * @since 21 + */ + setStyledPlaceholder(styledString: StyledString): void; } /**