1/* 2* Copyright (C) 2023-2025 Huawei Device Co., Ltd. 3* Licensed under the Apache License, Version 2.0 (the "License"); 4* you may not use this file except in compliance with the License. 5* You may obtain a copy of the License at 6* 7* http://www.apache.org/licenses/LICENSE-2.0 8* 9* Unless required by applicable law or agreed to in writing, software 10* distributed under the License is distributed on an "AS IS" BASIS, 11* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12* See the License for the specific language governing permissions and 13* limitations under the License. 14*/ 15 16/** 17 * @file 18 * @kit ArkUI 19 */ 20 21/** 22 * Declare enum IconType 23 * @enum { number } 24 * @syscap SystemCapability.ArkUI.ArkUI.Full 25 * @since 10 26 */ 27 28 29/** 30 * Declare enum IconType 31 * @enum { number } 32 * @syscap SystemCapability.ArkUI.ArkUI.Full 33 * @atomicservice 34 * @since 11 35 */ 36/** 37 * Declare enum IconType 38 * @enum { number } 39 * @syscap SystemCapability.ArkUI.ArkUI.Full 40 * @crossplatform 41 * @atomicservice 42 * @since 20 43 */ 44export declare enum IconType { 45 /** 46 * Badge type. 47 * @syscap SystemCapability.ArkUI.ArkUI.Full 48 * @since 10 49 */ 50 /** 51 * Badge type. 52 * @syscap SystemCapability.ArkUI.ArkUI.Full 53 * @atomicservice 54 * @since 11 55 */ 56 /** 57 * Badge type. 58 * @syscap SystemCapability.ArkUI.ArkUI.Full 59 * @crossplatform 60 * @atomicservice 61 * @since 20 62 */ 63 BADGE = 1, 64 /** 65 * Normal icon type. 66 * @syscap SystemCapability.ArkUI.ArkUI.Full 67 * @since 10 68 */ 69 /** 70 * Normal icon type. 71 * @syscap SystemCapability.ArkUI.ArkUI.Full 72 * @atomicservice 73 * @since 11 74 */ 75 /** 76 * Normal icon type. 77 * @syscap SystemCapability.ArkUI.ArkUI.Full 78 * @crossplatform 79 * @atomicservice 80 * @since 20 81 */ 82 NORMAL_ICON = 2, 83 /** 84 * System icon type. 85 * @syscap SystemCapability.ArkUI.ArkUI.Full 86 * @since 10 87 */ 88 /** 89 * System icon type. 90 * @syscap SystemCapability.ArkUI.ArkUI.Full 91 * @atomicservice 92 * @since 11 93 */ 94 /** 95 * System icon type. 96 * @syscap SystemCapability.ArkUI.ArkUI.Full 97 * @crossplatform 98 * @atomicservice 99 * @since 20 100 */ 101 SYSTEM_ICON = 3, 102 /** 103 * HeadSculpture type. 104 * @syscap SystemCapability.ArkUI.ArkUI.Full 105 * @since 10 106 */ 107 /** 108 * HeadSculpture type. 109 * @syscap SystemCapability.ArkUI.ArkUI.Full 110 * @atomicservice 111 * @since 11 112 */ 113 /** 114 * HeadSculpture type. 115 * @syscap SystemCapability.ArkUI.ArkUI.Full 116 * @crossplatform 117 * @atomicservice 118 * @since 20 119 */ 120 HEAD_SCULPTURE = 4, 121 /** 122 * App icon type. 123 * @syscap SystemCapability.ArkUI.ArkUI.Full 124 * @since 10 125 */ 126 /** 127 * App icon type. 128 * @syscap SystemCapability.ArkUI.ArkUI.Full 129 * @atomicservice 130 * @since 11 131 */ 132 /** 133 * App icon type. 134 * @syscap SystemCapability.ArkUI.ArkUI.Full 135 * @crossplatform 136 * @atomicservice 137 * @since 20 138 */ 139 APP_ICON = 5, 140 /** 141 * Preview type. 142 * @syscap SystemCapability.ArkUI.ArkUI.Full 143 * @since 10 144 */ 145 /** 146 * Preview type. 147 * @syscap SystemCapability.ArkUI.ArkUI.Full 148 * @atomicservice 149 * @since 11 150 */ 151 /** 152 * Preview type. 153 * @syscap SystemCapability.ArkUI.ArkUI.Full 154 * @crossplatform 155 * @atomicservice 156 * @since 20 157 */ 158 PREVIEW = 6, 159 /** 160 * Longitudinal type. 161 * @syscap SystemCapability.ArkUI.ArkUI.Full 162 * @since 10 163 */ 164 /** 165 * Longitudinal type. 166 * @syscap SystemCapability.ArkUI.ArkUI.Full 167 * @atomicservice 168 * @since 11 169 */ 170 /** 171 * Longitudinal type. 172 * @syscap SystemCapability.ArkUI.ArkUI.Full 173 * @crossplatform 174 * @atomicservice 175 * @since 20 176 */ 177 LONGITUDINAL = 7, 178 /** 179 * Vertical type. 180 * @syscap SystemCapability.ArkUI.ArkUI.Full 181 * @since 10 182 */ 183 /** 184 * Vertical type. 185 * @syscap SystemCapability.ArkUI.ArkUI.Full 186 * @atomicservice 187 * @since 11 188 */ 189 /** 190 * Vertical type. 191 * @syscap SystemCapability.ArkUI.ArkUI.Full 192 * @crossplatform 193 * @atomicservice 194 * @since 20 195 */ 196 VERTICAL = 8 197} 198 199/** 200 * Declare type OperateIcon 201 * @syscap SystemCapability.ArkUI.ArkUI.Full 202 * @since 10 203 */ 204/** 205 * Declare type OperateIcon 206 * @syscap SystemCapability.ArkUI.ArkUI.Full 207 * @atomicservice 208 * @since 11 209 */ 210/** 211 * Declare type OperateIcon 212 * @syscap SystemCapability.ArkUI.ArkUI.Full 213 * @crossplatform 214 * @atomicservice 215 * @since 20 216 */ 217export declare class OperateIcon { 218 /** 219 * The content of text or the address of icon. 220 * @type { ResourceStr }. 221 * @syscap SystemCapability.ArkUI.ArkUI.Full 222 * @since 10 223 */ 224 /** 225 * The content of text or the address of icon. 226 * @type { ResourceStr }. 227 * @syscap SystemCapability.ArkUI.ArkUI.Full 228 * @atomicservice 229 * @since 11 230 */ 231 /** 232 * The content of text or the address of icon. 233 * @type { ResourceStr }. 234 * @syscap SystemCapability.ArkUI.ArkUI.Full 235 * @crossplatform 236 * @atomicservice 237 * @since 20 238 */ 239 value: ResourceStr; 240 241 /** 242 * The content of text or the address of symbol. 243 * @type { ?SymbolGlyphModifier }. 244 * @syscap SystemCapability.ArkUI.ArkUI.Full 245 * @atomicservice 246 * @since 18 247 */ 248 /** 249 * The content of text or the address of symbol. 250 * @type { ?SymbolGlyphModifier }. 251 * @syscap SystemCapability.ArkUI.ArkUI.Full 252 * @crossplatform 253 * @atomicservice 254 * @since 20 255 */ 256 symbolStyle?: SymbolGlyphModifier; 257 258 /** 259 * Callback function when operate the icon. 260 * @type { ?function } 261 * @syscap SystemCapability.ArkUI.ArkUI.Full 262 * @since 10 263 */ 264 /** 265 * Callback function when operate the icon. 266 * @type { ?function } 267 * @syscap SystemCapability.ArkUI.ArkUI.Full 268 * @atomicservice 269 * @since 11 270 */ 271 /** 272 * Callback function when operate the icon. 273 * @type { ?function } 274 * @syscap SystemCapability.ArkUI.ArkUI.Full 275 * @crossplatform 276 * @atomicservice 277 * @since 20 278 */ 279 action?: () => void; 280 281 /** 282 * The accessibilityText of the icon. 283 * 284 * @type { ?ResourceStr } 285 * @syscap SystemCapability.ArkUI.ArkUI.Full 286 * @atomicservice 287 * @since 18 288 */ 289 /** 290 * The accessibilityText of the icon. 291 * 292 * @type { ?ResourceStr } 293 * @syscap SystemCapability.ArkUI.ArkUI.Full 294 * @crossplatform 295 * @atomicservice 296 * @since 20 297 */ 298 accessibilityText?: ResourceStr; 299 300 /** 301 * The accessibilityDescription of the icon. 302 * 303 * @type { ?ResourceStr } 304 * @syscap SystemCapability.ArkUI.ArkUI.Full 305 * @atomicservice 306 * @since 18 307 */ 308 /** 309 * The accessibilityDescription of the icon. 310 * 311 * @type { ?ResourceStr } 312 * @syscap SystemCapability.ArkUI.ArkUI.Full 313 * @crossplatform 314 * @atomicservice 315 * @since 20 316 */ 317 accessibilityDescription?: ResourceStr; 318 319 /** 320 * The accessibilityLevel of the icon. 321 * 322 * @type { ?string } 323 * @default "auto" 324 * @syscap SystemCapability.ArkUI.ArkUI.Full 325 * @atomicservice 326 * @since 18 327 */ 328 /** 329 * The accessibilityLevel of the icon. 330 * 331 * @type { ?string } 332 * @default "auto" 333 * @syscap SystemCapability.ArkUI.ArkUI.Full 334 * @crossplatform 335 * @atomicservice 336 * @since 20 337 */ 338 accessibilityLevel?: string; 339} 340 341/** 342 * Declare type OperateCheck 343 * @syscap SystemCapability.ArkUI.ArkUI.Full 344 * @since 10 345 */ 346/** 347 * Declare type OperateCheck 348 * @syscap SystemCapability.ArkUI.ArkUI.Full 349 * @atomicservice 350 * @since 11 351 */ 352/** 353 * Declare type OperateCheck 354 * @syscap SystemCapability.ArkUI.ArkUI.Full 355 * @crossplatform 356 * @atomicservice 357 * @since 20 358 */ 359export declare class OperateCheck { 360 /** 361 * Whether is checked on default. 362 * @type { ?boolean }. 363 * @syscap SystemCapability.ArkUI.ArkUI.Full 364 * @since 10 365 */ 366 /** 367 * Whether is checked on default. 368 * @type { ?boolean }. 369 * @syscap SystemCapability.ArkUI.ArkUI.Full 370 * @atomicservice 371 * @since 11 372 */ 373 /** 374 * Whether is checked on default. 375 * @type { ?boolean }. 376 * @syscap SystemCapability.ArkUI.ArkUI.Full 377 * @crossplatform 378 * @atomicservice 379 * @since 20 380 */ 381 isCheck?: boolean; 382 383 /** 384 * Callback function when operate the checkbox/switch/radio. 385 * @type { ?function } 386 * @syscap SystemCapability.ArkUI.ArkUI.Full 387 * @since 10 388 */ 389 /** 390 * Callback function when operate the checkbox/switch/radio. 391 * @type { ?function } 392 * @syscap SystemCapability.ArkUI.ArkUI.Full 393 * @atomicservice 394 * @since 11 395 */ 396 /** 397 * Callback function when operate the checkbox/switch/radio. 398 * @type { ?function } 399 * @syscap SystemCapability.ArkUI.ArkUI.Full 400 * @crossplatform 401 * @atomicservice 402 * @since 20 403 */ 404 onChange?: (value: boolean) => void; 405 406 /** 407 * The accessibilityText of the checkbox/switch/radio. 408 * 409 * @type { ?ResourceStr } 410 * @syscap SystemCapability.ArkUI.ArkUI.Full 411 * @atomicservice 412 * @since 18 413 */ 414 /** 415 * The accessibilityText of the checkbox/switch/radio. 416 * 417 * @type { ?ResourceStr } 418 * @syscap SystemCapability.ArkUI.ArkUI.Full 419 * @crossplatform 420 * @atomicservice 421 * @since 20 422 */ 423 accessibilityText?: ResourceStr; 424 425 /** 426 * The accessibilityDescription of the checkbox/switch/radio. 427 * 428 * @type { ?ResourceStr } 429 * @syscap SystemCapability.ArkUI.ArkUI.Full 430 * @atomicservice 431 * @since 18 432 */ 433 /** 434 * The accessibilityDescription of the checkbox/switch/radio. 435 * 436 * @type { ?ResourceStr } 437 * @syscap SystemCapability.ArkUI.ArkUI.Full 438 * @crossplatform 439 * @atomicservice 440 * @since 20 441 */ 442 accessibilityDescription?: ResourceStr; 443 444 /** 445 * The accessibilityLevel of the checkbox/switch/radio. 446 * 447 * @type { ?string } 448 * @default "auto" 449 * @syscap SystemCapability.ArkUI.ArkUI.Full 450 * @atomicservice 451 * @since 18 452 */ 453 /** 454 * The accessibilityLevel of the checkbox/switch/radio. 455 * 456 * @type { ?string } 457 * @default "auto" 458 * @syscap SystemCapability.ArkUI.ArkUI.Full 459 * @crossplatform 460 * @atomicservice 461 * @since 20 462 */ 463 accessibilityLevel?: string; 464} 465 466/** 467 * Declare type OperateButton 468 * @syscap SystemCapability.ArkUI.ArkUI.Full 469 * @since 10 470 */ 471/** 472 * Declare type OperateButton 473 * @syscap SystemCapability.ArkUI.ArkUI.Full 474 * @atomicservice 475 * @since 11 476 */ 477/** 478 * Declare type OperateButton 479 * @syscap SystemCapability.ArkUI.ArkUI.Full 480 * @crossplatform 481 * @atomicservice 482 * @since 20 483 */ 484export declare class OperateButton { 485 /** 486 * The text on the button. 487 * @type { ?ResourceStr }. 488 * @syscap SystemCapability.ArkUI.ArkUI.Full 489 * @since 10 490 */ 491 /** 492 * The text on the button. 493 * @type { ?ResourceStr }. 494 * @syscap SystemCapability.ArkUI.ArkUI.Full 495 * @atomicservice 496 * @since 11 497 */ 498 /** 499 * The text on the button. 500 * @type { ?ResourceStr }. 501 * @syscap SystemCapability.ArkUI.ArkUI.Full 502 * @crossplatform 503 * @atomicservice 504 * @since 20 505 */ 506 text?: ResourceStr; 507 508 /** 509 * The accessibilityText of the button. 510 * 511 * @type { ?ResourceStr } 512 * @syscap SystemCapability.ArkUI.ArkUI.Full 513 * @atomicservice 514 * @since 18 515 */ 516 /** 517 * The accessibilityText of the button. 518 * 519 * @type { ?ResourceStr } 520 * @syscap SystemCapability.ArkUI.ArkUI.Full 521 * @crossplatform 522 * @atomicservice 523 * @since 20 524 */ 525 accessibilityText?: ResourceStr; 526 527 /** 528 * The accessibilityDescription of the button. 529 * 530 * @type { ?ResourceStr } 531 * @syscap SystemCapability.ArkUI.ArkUI.Full 532 * @atomicservice 533 * @since 18 534 */ 535 /** 536 * The accessibilityDescription of the button. 537 * 538 * @type { ?ResourceStr } 539 * @syscap SystemCapability.ArkUI.ArkUI.Full 540 * @crossplatform 541 * @atomicservice 542 * @since 20 543 */ 544 accessibilityDescription?: ResourceStr; 545 546 /** 547 * The accessibilityLevel of the button. 548 * 549 * @type { ?string } 550 * @default "auto" 551 * @syscap SystemCapability.ArkUI.ArkUI.Full 552 * @atomicservice 553 * @since 18 554 */ 555 /** 556 * The accessibilityLevel of the button. 557 * 558 * @type { ?string } 559 * @default "auto" 560 * @syscap SystemCapability.ArkUI.ArkUI.Full 561 * @crossplatform 562 * @atomicservice 563 * @since 20 564 */ 565 accessibilityLevel?: string; 566} 567 568/** 569 * Declare ContentItem 570 * @syscap SystemCapability.ArkUI.ArkUI.Full 571 * @since 10 572 */ 573/** 574 * Declare ContentItem 575 * @syscap SystemCapability.ArkUI.ArkUI.Full 576 * @atomicservice 577 * @since 11 578 */ 579/** 580 * Declare ContentItem 581 * @syscap SystemCapability.ArkUI.ArkUI.Full 582 * @crossplatform 583 * @atomicservice 584 * @since 20 585 */ 586export declare class ContentItem { 587 /** 588 * The type of icon. 589 * @type { ?IconType } 590 * @syscap SystemCapability.ArkUI.ArkUI.Full 591 * @since 10 592 */ 593 /** 594 * The type of icon. 595 * @type { ?IconType } 596 * @syscap SystemCapability.ArkUI.ArkUI.Full 597 * @atomicservice 598 * @since 11 599 */ 600 /** 601 * The type of icon. 602 * @type { ?IconType } 603 * @syscap SystemCapability.ArkUI.ArkUI.Full 604 * @crossplatform 605 * @atomicservice 606 * @since 20 607 */ 608 iconStyle?: IconType; 609 610 /** 611 * Sets the icon. 612 * @type { ?ResourceStr } 613 * @syscap SystemCapability.ArkUI.ArkUI.Full 614 * @since 10 615 */ 616 /** 617 * Sets the icon. 618 * @type { ?ResourceStr } 619 * @syscap SystemCapability.ArkUI.ArkUI.Full 620 * @atomicservice 621 * @since 11 622 */ 623 /** 624 * Sets the icon. 625 * @type { ?ResourceStr } 626 * @syscap SystemCapability.ArkUI.ArkUI.Full 627 * @crossplatform 628 * @atomicservice 629 * @since 20 630 */ 631 icon?: ResourceStr; 632 633 /** 634 * Sets the symbol. 635 * @type { ?SymbolGlyphModifier } 636 * @syscap SystemCapability.ArkUI.ArkUI.Full 637 * @atomicservice 638 * @since 18 639 */ 640 /** 641 * Sets the symbol. 642 * @type { ?SymbolGlyphModifier } 643 * @syscap SystemCapability.ArkUI.ArkUI.Full 644 * @crossplatform 645 * @atomicservice 646 * @since 20 647 */ 648 symbolStyle?: SymbolGlyphModifier; 649 650 /** 651 * Sets the primaryText. 652 * @type { ?ResourceStr } 653 * @syscap SystemCapability.ArkUI.ArkUI.Full 654 * @since 10 655 */ 656 /** 657 * Sets the primaryText. 658 * @type { ?ResourceStr } 659 * @syscap SystemCapability.ArkUI.ArkUI.Full 660 * @atomicservice 661 * @since 11 662 */ 663 /** 664 * Sets the primaryText. 665 * @type { ?ResourceStr } 666 * @syscap SystemCapability.ArkUI.ArkUI.Full 667 * @crossplatform 668 * @atomicservice 669 * @since 20 670 */ 671 primaryText?: ResourceStr; 672 673 /** 674 * Sets the secondaryText. 675 * @type { ?ResourceStr } 676 * @syscap SystemCapability.ArkUI.ArkUI.Full 677 * @since 10 678 */ 679 /** 680 * Sets the secondaryText. 681 * @type { ?ResourceStr } 682 * @syscap SystemCapability.ArkUI.ArkUI.Full 683 * @atomicservice 684 * @since 11 685 */ 686 /** 687 * Sets the secondaryText. 688 * @type { ?ResourceStr } 689 * @syscap SystemCapability.ArkUI.ArkUI.Full 690 * @crossplatform 691 * @atomicservice 692 * @since 20 693 */ 694 secondaryText?: ResourceStr; 695 696 /** 697 * Sets the description. 698 * @type { ?ResourceStr } 699 * @syscap SystemCapability.ArkUI.ArkUI.Full 700 * @since 10 701 */ 702 /** 703 * Sets the description. 704 * @type { ?ResourceStr } 705 * @syscap SystemCapability.ArkUI.ArkUI.Full 706 * @atomicservice 707 * @since 11 708 */ 709 /** 710 * Sets the description. 711 * @type { ?ResourceStr } 712 * @syscap SystemCapability.ArkUI.ArkUI.Full 713 * @crossplatform 714 * @atomicservice 715 * @since 20 716 */ 717 description?: ResourceStr; 718} 719 720/** 721 * Declare OperateItem 722 * @syscap SystemCapability.ArkUI.ArkUI.Full 723 * @since 10 724 */ 725/** 726 * Declare OperateItem 727 * @syscap SystemCapability.ArkUI.ArkUI.Full 728 * @atomicservice 729 * @since 11 730 */ 731/** 732 * Declare OperateItem 733 * @syscap SystemCapability.ArkUI.ArkUI.Full 734 * @crossplatform 735 * @atomicservice 736 * @since 20 737 */ 738export declare class OperateItem { 739 /** 740 * Sets the icon. 741 * @type { ?OperateIcon } 742 * @syscap SystemCapability.ArkUI.ArkUI.Full 743 * @since 10 744 */ 745 /** 746 * Sets the icon. 747 * @type { ?OperateIcon } 748 * @syscap SystemCapability.ArkUI.ArkUI.Full 749 * @atomicservice 750 * @since 11 751 */ 752 /** 753 * Sets the icon. 754 * @type { ?OperateIcon } 755 * @syscap SystemCapability.ArkUI.ArkUI.Full 756 * @crossplatform 757 * @atomicservice 758 * @since 20 759 */ 760 icon?: OperateIcon; 761 762 /** 763 * Sets the subIcon. 764 * @type { ?OperateIcon } 765 * @syscap SystemCapability.ArkUI.ArkUI.Full 766 * @since 10 767 */ 768 /** 769 * Sets the subIcon. 770 * @type { ?OperateIcon } 771 * @syscap SystemCapability.ArkUI.ArkUI.Full 772 * @atomicservice 773 * @since 11 774 */ 775 /** 776 * Sets the subIcon. 777 * @type { ?OperateIcon } 778 * @syscap SystemCapability.ArkUI.ArkUI.Full 779 * @crossplatform 780 * @atomicservice 781 * @since 20 782 */ 783 subIcon?: OperateIcon; 784 785 /** 786 * Sets the button. 787 * @type { ?OperateButton } 788 * @syscap SystemCapability.ArkUI.ArkUI.Full 789 * @since 10 790 */ 791 /** 792 * Sets the button. 793 * @type { ?OperateButton } 794 * @syscap SystemCapability.ArkUI.ArkUI.Full 795 * @atomicservice 796 * @since 11 797 */ 798 /** 799 * Sets the button. 800 * @type { ?OperateButton } 801 * @syscap SystemCapability.ArkUI.ArkUI.Full 802 * @crossplatform 803 * @atomicservice 804 * @since 20 805 */ 806 button?: OperateButton; 807 808 /** 809 * Sets the switch. 810 * @type { ?OperateCheck } 811 * @syscap SystemCapability.ArkUI.ArkUI.Full 812 * @since 10 813 */ 814 /** 815 * Sets the switch. 816 * @type { ?OperateCheck } 817 * @syscap SystemCapability.ArkUI.ArkUI.Full 818 * @atomicservice 819 * @since 11 820 */ 821 /** 822 * Sets the switch. 823 * @type { ?OperateCheck } 824 * @syscap SystemCapability.ArkUI.ArkUI.Full 825 * @crossplatform 826 * @atomicservice 827 * @since 20 828 */ 829 switch?: OperateCheck; 830 831 /** 832 * Sets the checkBox. 833 * @type { ?OperateCheck } 834 * @syscap SystemCapability.ArkUI.ArkUI.Full 835 * @since 10 836 */ 837 /** 838 * Sets the checkBox. 839 * @type { ?OperateCheck } 840 * @syscap SystemCapability.ArkUI.ArkUI.Full 841 * @atomicservice 842 * @since 11 843 */ 844 /** 845 * Sets the checkBox. 846 * @type { ?OperateCheck } 847 * @syscap SystemCapability.ArkUI.ArkUI.Full 848 * @crossplatform 849 * @atomicservice 850 * @since 20 851 */ 852 checkbox?: OperateCheck; 853 854 /** 855 * Sets the radio. 856 * @type { ?OperateCheck } 857 * @syscap SystemCapability.ArkUI.ArkUI.Full 858 * @since 10 859 */ 860 /** 861 * Sets the radio. 862 * @type { ?OperateCheck } 863 * @syscap SystemCapability.ArkUI.ArkUI.Full 864 * @atomicservice 865 * @since 11 866 */ 867 /** 868 * Sets the radio. 869 * @type { ?OperateCheck } 870 * @syscap SystemCapability.ArkUI.ArkUI.Full 871 * @crossplatform 872 * @atomicservice 873 * @since 20 874 */ 875 radio?: OperateCheck; 876 877 /** 878 * Sets the image. 879 * @type { ?ResourceStr } 880 * @syscap SystemCapability.ArkUI.ArkUI.Full 881 * @since 10 882 */ 883 /** 884 * Sets the image. 885 * @type { ?ResourceStr } 886 * @syscap SystemCapability.ArkUI.ArkUI.Full 887 * @atomicservice 888 * @since 11 889 */ 890 /** 891 * Sets the image. 892 * @type { ?ResourceStr } 893 * @syscap SystemCapability.ArkUI.ArkUI.Full 894 * @crossplatform 895 * @atomicservice 896 * @since 20 897 */ 898 image?: ResourceStr; 899 900 /** 901 * Sets the symbolStyle. 902 * @type { ?SymbolGlyphModifier } 903 * @syscap SystemCapability.ArkUI.ArkUI.Full 904 * @atomicservice 905 * @since 18 906 */ 907 /** 908 * Sets the symbolStyle. 909 * @type { ?SymbolGlyphModifier } 910 * @syscap SystemCapability.ArkUI.ArkUI.Full 911 * @crossplatform 912 * @atomicservice 913 * @since 20 914 */ 915 symbolStyle?: SymbolGlyphModifier; 916 917 /** 918 * Sets the text. 919 * @type { ?ResourceStr } 920 * @syscap SystemCapability.ArkUI.ArkUI.Full 921 * @since 10 922 */ 923 /** 924 * Sets the text. 925 * @type { ?ResourceStr } 926 * @syscap SystemCapability.ArkUI.ArkUI.Full 927 * @atomicservice 928 * @since 11 929 */ 930 /** 931 * Sets the text. 932 * @type { ?ResourceStr } 933 * @syscap SystemCapability.ArkUI.ArkUI.Full 934 * @crossplatform 935 * @atomicservice 936 * @since 20 937 */ 938 text?: ResourceStr; 939 940 /** 941 * Sets the arrow. 942 * @type { ?OperateIcon } 943 * @syscap SystemCapability.ArkUI.ArkUI.Full 944 * @since 10 945 */ 946 /** 947 * Sets the arrow. 948 * @type { ?OperateIcon } 949 * @syscap SystemCapability.ArkUI.ArkUI.Full 950 * @atomicservice 951 * @since 11 952 */ 953 /** 954 * Sets the arrow. 955 * @type { ?OperateIcon } 956 * @syscap SystemCapability.ArkUI.ArkUI.Full 957 * @crossplatform 958 * @atomicservice 959 * @since 20 960 */ 961 arrow?: OperateIcon; 962} 963 964/** 965 * Declare ComposeListItem 966 * 967 * @struct { ComposeListItem } 968 * @syscap SystemCapability.ArkUI.ArkUI.Full 969 * @since 10 970 */ 971/** 972 * Declare ComposeListItem 973 * 974 * @struct { ComposeListItem } 975 * @syscap SystemCapability.ArkUI.ArkUI.Full 976 * @atomicservice 977 * @since 11 978 */ 979/** 980 * Declare ComposeListItem 981 * 982 * @struct { ComposeListItem } 983 * @syscap SystemCapability.ArkUI.ArkUI.Full 984 * @crossplatform 985 * @atomicservice 986 * @since 20 987 */ 988@Component 989export declare struct ComposeListItem { 990 /** 991 * The ContentItem. 992 * @type { ?ContentItem } 993 * @syscap SystemCapability.ArkUI.ArkUI.Full 994 * @since 10 995 */ 996 /** 997 * The ContentItem. 998 * @type { ?ContentItem } 999 * @syscap SystemCapability.ArkUI.ArkUI.Full 1000 * @atomicservice 1001 * @since 11 1002 */ 1003 /** 1004 * The ContentItem. 1005 * @type { ?ContentItem } 1006 * @syscap SystemCapability.ArkUI.ArkUI.Full 1007 * @crossplatform 1008 * @atomicservice 1009 * @since 20 1010 */ 1011 @Prop contentItem?: ContentItem; 1012 1013 /** 1014 * The OperateItem. 1015 * @type { ?OperateItem } 1016 * @syscap SystemCapability.ArkUI.ArkUI.Full 1017 * @since 10 1018 */ 1019 /** 1020 * The OperateItem. 1021 * @type { ?OperateItem } 1022 * @syscap SystemCapability.ArkUI.ArkUI.Full 1023 * @atomicservice 1024 * @since 11 1025 */ 1026 /** 1027 * The OperateItem. 1028 * @type { ?OperateItem } 1029 * @syscap SystemCapability.ArkUI.ArkUI.Full 1030 * @crossplatform 1031 * @atomicservice 1032 * @since 20 1033 */ 1034 @Prop operateItem?: OperateItem; 1035}