Home
last modified time | relevance | path

Searched refs:Text (Results 1 – 25 of 1922) sorted by relevance

12345678910>>...77

/ohos5.0/docs/zh-cn/application-dev/ui/
H A Darkts-layout-development-flex-layout.md386 Text('alignSelf Baseline')
394 Text('no alignSelf').width('25%').height(100)
531 Text('flexBasis("auto")')
535 Text('flexBasis("auto")'+' width("40%")')
546 Text('flexBasis(100)')
560 Text('flexGrow(2)')
565 Text('flexGrow(3)')
571 Text('no flexGrow')
589 Text('flexShrink(3)')
595 Text('no flexShrink')
[all …]
H A Darkts-common-components-symbol.md29 Text() {
44 Text("48")
45 Text() {
55 Text() {
65 Text() {
82 Text() {
91 Text() {
100 Text() {
116 Text() {
125 Text() {
[all …]
H A Darkts-common-components-text-display.md1 # 文本显示 (Text/Span)
11 Text可通过以下两种方式来创建:
17 Text('我是一段文本')
47 Span组件必须嵌入在Text组件中才能显示,单独的Span组件不会呈现任何内容。Text与Span同时配置文本内容时,Span内容覆盖Text内容。
51 Text('我是Text') {
66 Text() {
84 Text() {
100 Text() {
115 Text('左对齐')
125 Text('右对齐')
[all …]
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-ts/
H A Dts-container-flex.md143 Text('Wrap').fontSize(9).fontColor(0xCCCCCC).width('90%')
191 Text('1').width('20%').height(50).backgroundColor(0xF5DEB3)
192 Text('2').width('20%').height(50).backgroundColor(0xD2B48C)
193 Text('3').width('20%').height(50).backgroundColor(0xF5DEB3)
242 Text('1').width('33%').height(30).backgroundColor(0xF5DEB3)
243 Text('2').width('33%').height(40).backgroundColor(0xD2B48C)
244 Text('3').width('33%').height(50).backgroundColor(0xF5DEB3)
293 Text('1').width('50%').height(20).backgroundColor(0xF5DEB3)
294 Text('2').width('50%').height(20).backgroundColor(0xD2B48C)
295 Text('3').width('50%').height(20).backgroundColor(0xD2B48C)
[all …]
H A Dts-basic-components-symbolSpan.md3 作为Text组件的子组件,用于显示图标小符号的组件。
171 Text() {
180 Text() {
189 Text() {
199 Text("单色")
200 Text() {
210 Text() {
220 Text() {
232 Text() {
241 Text() {
[all …]
H A Dts-universal-attributes-opacity.md39 Text('opacity(1)').fontSize(9).width('90%').fontColor(0xCCCCCC)
40 Text().width('90%').height(50).opacity(1).backgroundColor(0xAFEEEE)
41 Text('opacity(0.7)').fontSize(9).width('90%').fontColor(0xCCCCCC)
42 Text().width('90%').height(50).opacity(0.7).backgroundColor(0xAFEEEE)
43 Text('opacity(0.4)').fontSize(9).width('90%').fontColor(0xCCCCCC)
44 Text().width('90%').height(50).opacity(0.4).backgroundColor(0xAFEEEE)
45 Text('opacity(0.1)').fontSize(9).width('90%').fontColor(0xCCCCCC)
46 Text().width('90%').height(50).opacity(0.1).backgroundColor(0xAFEEEE)
47 Text('opacity(0)').fontSize(9).width('90%').fontColor(0xCCCCCC)
48 Text().width('90%').height(50).opacity(0).backgroundColor(0xAFEEEE)
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/splitlayout/interfaces/
H A Dsplitlayout.js179 }, Text);
180 Text.pop();
187 }, Text);
188 Text.pop();
195 }, Text);
260 }, Text);
267 }, Text);
274 }, Text);
342 }, Text);
351 }, Text);
[all …]
/ohos5.0/foundation/arkui/advanced_ui_component/interface/splitlayout/
H A Dsplitlayout.js191 Text.fontSize({
208 Text.pop();
213 Text.fontSize({
231 Text.pop();
254 Text.pop();
338 Text.pop();
360 Text.pop();
381 Text.pop();
455 Text.pop();
478 Text.pop();
[all …]
/ohos5.0/docs/zh-cn/application-dev/quick-start/
H A Darkts-extend.md29 // @Extend(Text)可以支持Text的私有属性fontColor
55 Text('Fancy')
57 Text('Fancy')
83 Text(`${this.label}`)
104 Text('Fancy')
138 Text('Fancy')
159 Text('Fancy')
169 以下示例声明了3个Text组件,每个Text组件均设置了fontStyle、fontWeight和backgroundColor样式。
180 Text(`${this.label}`)
184 Text(`${this.label}`)
[all …]
H A Darkts-declarative-ui-description.md23 Text('item 1')
25 Text('item 2')
41 - Text组件的非必选参数content。
45 Text('test')
49 Text()
68 - 配置Text组件的字体大小。
71 Text('test')
87 Text('hello')
98 Text('hello')
165 Text('Hello')
[all …]
H A Darkts-builder.md30 Text('Hello World')
36 Text(param)
71 Text('Hello World')
190 Text(this.builder_value)
205 Text(this.builder_value)
252 Text('通过调用@Builder渲染UI界面')
298 Text('通过调用@Builder渲染UI界面')
322 Text('全局 Builder')
335 Text('局部 Builder')
346 Text(`${item}`)
[all …]
H A Darkts-create-custom-components.md30 Text(this.message)
53 Text('ArkUI message')
243 Text(`${this.cnt}`)
338 Text(`Hello World`)
362 Text('...')
368 Text('...')
373 Text('...')
377 Text('...')
393 Text('...')
412 Text(`${this.count++}`)
[all …]
H A Darkts-rendering-control-ifelse.md52 Text(`count=${this.count}`)
55 Text(`count is positive`)
97 Text(`${this.label}`)
149 Text(`${this.label}`)
203 Text('Before')
227 Text('After')
271 Text(this.data1.str)
275 Text(this.data2.str)
334 Text(this.data1?.str)
382 Text(this.data1.str)
[all …]
/ohos5.0/docs/en/application-dev/ui/
H A Darkts-layout-development-flex-layout.md386 Text('alignSelf Baseline')
394 Text('no alignSelf').width('25%').height(100)
531 Text('flexBasis("auto")')
535 Text('flexBasis("auto")'+' width("40%")')
546 Text('flexBasis(100)')
560 Text('flexGrow(2)')
565 Text('flexGrow(3)')
571 Text('no flexGrow')
589 Text('flexShrink(3)')
595 Text('no flexShrink')
[all …]
H A Darkts-common-components-symbol.md19 ## Adding to Text
29 Text() {
45 Text() {
55 Text() {
65 Text() {
82 Text() {
91 Text() {
100 Text() {
116 Text() {
125 Text() {
[all …]
H A Darkts-common-components-text-display.md1 # Text Display (Text/Span)
9 ## Creating Text
51 Text('I am Text') {
66 Text() {
84 Text() {
100 Text() {
115 Text('Left aligned')
125 Text('Right aligned')
340 Text('Click Me')
386 Text("Hot")
[all …]
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-ts/
H A Dts-container-flex.md143 Text('Wrap').fontSize(9).fontColor(0xCCCCCC).width('90%')
191 Text('1').width('20%').height(50).backgroundColor(0xF5DEB3)
192 Text('2').width('20%').height(50).backgroundColor(0xD2B48C)
193 Text('3').width('20%').height(50).backgroundColor(0xF5DEB3)
242 Text('1').width('33%').height(30).backgroundColor(0xF5DEB3)
243 Text('2').width('33%').height(40).backgroundColor(0xD2B48C)
244 Text('3').width('33%').height(50).backgroundColor(0xF5DEB3)
293 Text('1').width('50%').height(20).backgroundColor(0xF5DEB3)
294 Text('2').width('50%').height(20).backgroundColor(0xD2B48C)
295 Text('3').width('50%').height(20).backgroundColor(0xD2B48C)
[all …]
/ohos5.0/foundation/arkui/advanced_ui_component/interface/arkdialog/
H A Darkdialog.js160 Text.fontSize({
179 Text.pop();
222 Text.pop();
253 Text.fontSize({
277 Text.pop();
546 Text.pop();
590 Text.pop();
982 Text.pop();
1082 Text.pop();
1335 Text.pop();
[all …]
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/popup/interfaces/
H A Dpopup.js895 Text.flexGrow(1);
896 Text.maxLines(2);
905 }, Text);
906 Text.pop();
970 }, Text);
971 Text.pop();
1016 }, Text);
1061 }, Text);
1111 }, Text);
1112 Text.pop();
[all …]
/ohos5.0/docs/en/application-dev/quick-start/
H A Darkts-extend.md29 // @Extend(Text) supports the private attribute fontColor of the <Text> component.
55 Text('Fancy')
57 Text('Fancy')
104 Text('Fancy')
138 Text('Fancy')
159 Text('Fancy')
180 Text(`${this.label}`)
184 Text(`${this.label}`)
188 Text(`${this.label}`)
219 Text(`${this.label}`)
[all …]
/ohos5.0/foundation/ability/dmsfwk/services/dtbschedmgr/test/samples/continuationManagerTestSuite/eTSContinuationManager/entry/src/main/ets/pages/
H A Dindex.ets38 Text('register')
54 Text('registerWithExtraParams')
86 Text('registerWithoutFilter')
118 Text('onDeviceConnect')
150 Text('onDeviceDisconnect')
182 Text('startDeviceManager')
278 Text('updateConnectStatus')
342 Text('offDeviceConnect')
374 Text('offDeviceDisconnect')
406 Text('unregister')
[all …]
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/exceptionprompt/interfaces/
H A Dexceptionprompt.js171 Text.fontSize({
178 Text.minFontScale(1);
180 Text.fontColor({
188 Text.maxLines(2);
189 Text.margin({
205 }, Text);
206 Text.pop();
265 Text.fontSize({
283 Text.margin({
293 }, Text);
[all …]
/ohos5.0/foundation/arkui/advanced_ui_component/interface/subheader/
H A Dsubheader.js165 Text.fontColor({
172 Text.fontSize({
186 Text.pop();
596 Text.margin({
610 Text.pop()
662 Text.pop();
694 Text.margin({
708 Text.pop()
763 Text.pop();
794 Text.pop();
[all …]
/ohos5.0/docs/zh-cn/third-party-cases/
H A Drelative-position.md22 本例在一个Row组件中添加一个Text子组件,如果希望Text组件相对于Row组件左上角向右下方偏移到(30,20)的位置,使用position实现的代码如下:
25 Text('.postion({x:30,y:20})')
53 …本例在一个Column组件中添加一个Text子组件,由于Column组件默认子组件顶部对齐,所以坐标原点为Column组件的左上角。如果希望Text组件相对于Column组件左上角向左上方偏移到(…
57 Text('.markAnchor({x:25,y:25})')
77 …本例在一个Stack组件中添加一个Text子组件,同时给Text组件添加position属性和markAnchor属性。Text组件会先采用position的坐标系,以Stack组件左上角为原点,…
80 Text('.markAnchor({x:25,y:25}) .position({x:50,y:50})')
106 本例在一个Row组件中添加A、B两个Text子组件,如果希望B相对于A的左上角偏移到(30,0)的位置,使用offset实现的代码如下:
109 Text('A')
111 Text('B.offset({x:30, y:0})')
/ohos5.0/base/useriam/face_auth/ui/Settings_FaceAuth/entry/src/main/ets/pages/
H A DenrollDeclare.ets21 @Extend(Text) function setTitleFormat() {
27 @Extend(Text) function setContentFormat() {
62 Text($r('app.string.face_feature_desc'))
65 Text($r('app.string.face_recognize_announce_message_01'))
68 Text($r('app.string.face_recognize_announce_message_02'))
71 Text($r('app.string.face_recognize_announce_message_03'))
74 Text($r('app.string.face_recognize_announce_message_04'))
77 Text($r('app.string.face_recognize_announce_message_05'))
80 Text($r('app.string.face_recognize_announce_message_06'))
92 Text($r('app.string.face_announce_tip1_item2_3d'))
[all …]

12345678910>>...77