| /docs/en/application-dev/reference/apis-arkgraphics2d/ |
| D | _o_h___drawing___placeholder_span.md | 6 The OH_Drawing_PlaceholderSpan struct describes the placeholder that acts as a span. 21 | double [width](#width) | Width of a placeholder.| 22 | double [height](#height) | Height of a placeholder.| 23 …h_drawing_placeholderverticalalignment) [alignment](#alignment) | Alignment mode of a placeholder.| 24 …tBaseline](_drawing.md#oh_drawing_textbaseline) [baseline](#baseline) | Baseline of a placeholder.| 25 | double [baselineOffset](#baselineoffset) | Baseline offset of a placeholder.| 39 Alignment mode of a placeholder. 50 Baseline of a placeholder. 61 Baseline offset of a placeholder. 72 Height of a placeholder. [all …]
|
| /docs/.gitcode/ISSUE_TEMPLATE/ |
| D | 4_security-issue.yml | 14 placeholder: "" 21 placeholder: "" 28 placeholder: "" 35 placeholder: "" 42 placeholder: "" 49 placeholder: "" 56 placeholder: "" 63 placeholder: "" 70 placeholder: ""
|
| D | 1_bug-report.yml | 14 placeholder: "" 21 placeholder: ""
|
| /docs/en/application-dev/ui/ |
| D | arkts-common-components-text-input.md | 12 TextInput(value?:{placeholder?: ResourceStr, text?: ResourceStr, controller?: TextInputController}) 16 TextArea(value?:{placeholder?: ResourceStr, text?: ResourceStr, controller?: TextAreaController}) 72 - Set the placeholder text displayed when there is no input. 76 TextInput({ placeholder: 'I am placeholder text' }) 85 TextInput({ placeholder: 'I am placeholder text', text: 'I am current text input' }) 93 TextInput({ placeholder: 'I am placeholder text', text: 'I am current text input' }) 126 TextInput({ placeholder: 'input your username' }).margin({ top: 20 }) 130 TextInput({ placeholder: 'input your password' }).type(InputType.Password).margin({ top: 20 }) 156 ForEach(this.placeHolderArr, (placeholder: string) => { 157 TextInput({ placeholder: 'TextInput ' + placeholder })
|
| D | ui-js-components-input.md | 54 <input type="date" class="flex" placeholder="Enter data"></input> 122 <input class="input" type="text" onsearch="search" placeholder="search"> </input> 123 <input class="input" type="text" ontranslate="translate" placeholder="translate"> </input> 140 placeholder-color: gray; 178 …<input id="input" class="input" type="text" maxlength="20" placeholder="Please input text" onchan… 196 placeholder-color: gray; 257 <input class="flex" id="input1" placeholder="Enter content" /> 261 <input class="flex" id="input3" type="date" placeholder="Enter data" /> 265 <input class="flex" id="input4" type="time" placeholder="Enter time" />
|
| D | ndk-styled-string.md | 77 ## Adding a Placeholder 78 A placeholder reserves a blank area of a specified size in the middle of text. No text is drawn in … 81 > The relative position of the placeholder and text is determined by the execution order of **OH_Ar… 84 OH_Drawing_PlaceholderSpan placeHolder{ 88 OH_ArkUI_StyledString_AddPlaceholder(styledString, placeHolder); 165 // Insert a 100 x 100 placeholder between "Hello" and "World!" 166 OH_Drawing_PlaceholderSpan placeHolder{ 170 OH_ArkUI_StyledString_AddPlaceholder(styledString, &placeHolder);
|
| D | ui-js-components-search.md | 65 Set **color**, **placeholder-color**, and **caret-color** to set the text color, hint text color, a… 88 placeholder-color: black; 191 …<textarea class="field" id="textarea1" extend="true" placeholder="textarea1" onchange="change" ></… 192 …<textarea class="field" id="textarea2" extend="true" placeholder="textarea2" onchange="change" sho… 195 <input type="text" class="field" id="input1" placeholder="input1" onchange="change" ></input> 196 …<input type="text" class="field" id="input2" placeholder="input2" onchange="change" show="{{showse… 208 placeholder-color: orangered;
|
| D | arkts-user-defined-place-holder.md | 1 # Custom Placeholder Nodes 3 ArkUI provides two types of custom placeholder nodes: the built-in component [NodeContainer](../../… 7 …-basic-components-nodecontainer.md), a built-in component serving as a placeholder, comes with uni… 31 …Placeholder node: special node used in a declarative node tree to reserve a spot for a custom node… 140 // First, remove the node from the original placeholder node. 141 // Then, add the node to the new placeholder node.
|
| D | arkts-user-defined-node.md | 3 …mponents. The attachment and display of custom nodes depend on [custom placeholder nodes](./arkts-… 15 ## Custom Placeholder Nodes 16 Custom placeholder nodes, acting as built-in components, provide anchor points for custom nodes in … 30 …Node facilitates the synchronous reuse of nodes, and by combining with placeholder nodes, it can l…
|
| D | js-framework-multiple-languages.md | 107 …placeholder, for example, **{name}**. The actual content must be of the object type, for example, … 113 <!-- Display Hello world! without using a placeholder. --> 115 <!-- Replace named placeholder {name} with Hello world and display it. --> 117 <!-- Replace digit placeholder {0} with Hello world and display it. --> 121 …<!-- Obtain the resource content from the .js file, replace named placeholder {name} with Hello wo… 123 …<!-- Obtain the resource content from the .js file, replace digit placeholder {0} with Hello world…
|
| D | ndk-access-the-arkts-page.md | 4 ## Placeholder Components 6 …PIs, you need to create placeholder components in the ArkTS page for mounting components created b… 8 - The usage of placeholder components is the same as other built-in ArkTS components. For the sampl… 36 // Bind the NodeContent and ContentSlot placeholder component. 46 - The placeholder component can be transformed into a mounting object on the native side through re… 121 1. Declare a placeholder component for native page mounting on the ArkTS page, and notify the nativ… 149 // Bind the NodeContent and ContentSlot placeholder component.
|
| /docs/en/application-dev/reference/apis-ime-kit/ |
| D | capi-inputmethod-text-config-capi-h.md | 42 …TextConfig *config, const char16_t *placeholder,size_t length)](#oh_textconfig_setplaceholder) | S… 51 …hod_TextConfig *config, char16_t *placeholder,size_t *length)](#oh_textconfig_getplaceholder) | Ob… 227 …extConfig_SetPlaceholder(InputMethod_TextConfig *config, const char16_t *placeholder,size_t length) 232 Sets the placeholder text. 242 | const char16_t *placeholder | Pointer to a UTF-16 encoded double-byte string. If a null pointer i… 243 …emory to which **placeholder** points, including the null character of the double-byte string.1. I… 464 … OH_TextConfig_GetPlaceholder(InputMethod_TextConfig *config, char16_t *placeholder,size_t *length) 469 Obtains the placeholder text. 479 | char16_t *placeholder | Pointer to the placeholder text. The memory of this pointer is maintained… 480 …placeholder text, in double bytes. The length includes the null character of the string.1. As an i…
|
| /docs/en/application-dev/reference/apis-arkui/arkui-js-lite/ |
| D | js-lite-framework-localization.md | 39 …placeholder, for example, {name}. The actual content must be of the object type, for example, **$t… 46 <!-- Display Hello world! without using a placeholder. --> 48 <!-- Replace named placeholder {name} with Hello world and display it. --> 50 <!-- Replace digit placeholder {0} with Hello world and display it. --> 54 …<!-- Obtain the resource content from the .js file, replace named placeholder {name} with Hello wo… 56 …<!-- Obtain the resource content from the .js file, replace digit placeholder {0} with Hello world…
|
| /docs/zh-cn/application-dev/ui/ |
| D | ui-js-components-input.md | 59 <input type="date" class="flex" placeholder="Enter data"></input> 125 <input class="input" type="text" ontranslate="translate" placeholder="translate"> </input> 142 placeholder-color: gray; 175 …<input id="input" class="input" type="text" maxlength="20" placeholder="Please input text" onchan… 193 placeholder-color: gray; 254 <input class="flex" id="input1" placeholder="Enter content" /> 258 <input class="flex" id="input3" type="date" placeholder="Enter data" /> 262 <input class="flex" id="input4" type="time" placeholder="Enter time" />
|
| D | ui-js-components-search.md | 71 通过color、placeholder-color和caret-color样式来设置搜索框的文本颜色、提示文本颜色和光标颜色。 94 placeholder-color: black; 197 …<textarea class="field" id="textarea1" extend="true" placeholder="textarea1" onchange="change" ></… 198 …<textarea class="field" id="textarea2" extend="true" placeholder="textarea2" onchange="change" sho… 201 <input type="text" class="field" id="input1" placeholder="input1" onchange="change" ></input> 202 …<input type="text" class="field" id="input2" placeholder="input2" onchange="change" show="{{showse… 214 placeholder-color: orangered;
|
| D | arkts-common-components-text-input.md | 22 TextInput(value?:{placeholder?: ResourceStr, text?: ResourceStr, controller?: TextInputController}) 26 TextArea(value?:{placeholder?: ResourceStr, text?: ResourceStr, controller?: TextAreaController}) 30 Search(options?:{placeholder?: ResourceStr, value?: ResourceStr, controller?: SearchController, ico… 144 TextInput({ placeholder: '我是提示文本' }) 153 TextInput({ placeholder: '我是提示文本', text: '我是当前文本内容' }) 161 TextInput({ placeholder: '我是提示文本', text: '我是当前文本内容' }) 207 … TextInput({ text: this.text, placeholder: 'input your word...', controller: this.controller }) 383 TextInput({ placeholder: '输入你的邮箱...' }) 451 ForEach(this.placeHolderArr, (placeholder: string) => { 452 TextInput({ placeholder: 'TextInput ' + placeholder })
|
| D | ndk-styled-string.md | 101 OH_Drawing_PlaceholderSpan placeHolder{ 105 OH_ArkUI_StyledString_AddPlaceholder(styledString, placeHolder); 201 OH_Drawing_PlaceholderSpan placeHolder{ 205 OH_ArkUI_StyledString_AddPlaceholder(styledString, &placeHolder);
|
| /docs/zh-cn/third-party-cases/ |
| D | customize-the-input-box.md | 42 Text(this.placeholder) 83 InputFloatHint({placeholder: '请输入用户名'}) 85 InputFloatHint({placeholder: '请输入密码'}) 120 placeholder: string 142 Text(this.placeholder) 181 InputFloatHint({placeholder: '账号'}) 183 InputFloatHint({placeholder: '密码'})
|
| /docs/zh-cn/application-dev/reference/apis-arkui/arkui-js/ |
| D | js-components-basic-textarea.md | 31 | placeholder | string | - | 否 | 多行文本框的提示文本内容。 … 60 | placeholder-color | <color> | \#99000000 | 否 | 多行文本框的提示文本颜色,type为tex… 90 headericon="/common/navigation_menu1_icon.svg" placeholder="Please input text" 98 placeholder-color: gray;
|
| /docs/en/application-dev/reference/apis-universal-keystore-kit/ |
| D | capi-hukstypeapi-oh-huks-pubkeyinfo.md | 30 | uint32_t placeHolder | Placeholder size.|
|
| /docs/zh-cn/application-dev/web/ |
| D | web-set-dark-mode.md | 49 <input name="input1" type="text" placeholder="please enter text"> 51 …<input name="input2" type="text" placeholder="please enter text" style="background-color: Lightgra… 167 <input name="input1" placeholder="please enter text" style="color-scheme: light dark;"> 169 <input name="input2" placeholder="please enter text">
|
| D | web-dialog.md | 78 <input type="text" id="alert-message" placeholder="message for alert"><br/> 162 <input type="text" id="alert-message" placeholder="message for alert"><br/> 250 <input type="text" id="confirm-message" placeholder="message for confirm"><br/> 352 <input type="text" id="confirm-message" placeholder="message for confirm"><br/> 475 <input type="text" id="prompt-message" placeholder="message for prompt"><br/> 476 <input type="text" id="prompt-value" placeholder="default value for prompt"><br/>
|
| /docs/en/application-dev/reference/apis-arkui/arkui-js/ |
| D | js-components-basic-textarea.md | 26 | placeholder | string | - | No | Content of the hint t… 55 | placeholder-color | <color> | \#99000000 | No | Color of the hint tex… 85 headericon="/common/navigation_menu1_icon.svg" placeholder="Please input text" 93 placeholder-color: gray;
|
| /docs/zh-cn/application-dev/graphics/ |
| D | complex-text-c.md | 587 // 创建一个 placeholder,并且初始化其成员变量 588 OH_Drawing_PlaceholderSpan placeholder; 589 placeholder.width = 200.0; 590 placeholder.height = 200.0; 591 placeholder.alignment = ALIGNMENT_ABOVE_BASELINE; // 基线对齐策略 592 placeholder.baseline = TEXT_BASELINE_ALPHABETIC; // 使用的文本基线类型 593 placeholder.baselineOffset = 0.0; // 相比基线的偏移量。只有对齐策略是 OFFSET_AT_BASELINE 时生效 595 // 将 placeholder 放在开头 596 OH_Drawing_TypographyHandlerAddPlaceholder(handlerWithPlaceholder, &placeholder);
|
| /docs/en/application-dev/reference/apis-ability-kit/ |
| D | js-apis-inner-application-pageNodeInfo-sys.md | 22 | placeholder | string | No | Yes | Placeholder of the page node. …
|