1/* 2 * Copyright (c) 2021-2023 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 item ceiling attribute. 23 * 24 * @enum { number } 25 * @syscap SystemCapability.ArkUI.ArkUI.Full 26 * @since 7 27 * @deprecated since 9 28 * @useinstead list/StickyStyle 29 */ 30declare enum Sticky { 31 /** 32 * No sticky. 33 * 34 * @syscap SystemCapability.ArkUI.ArkUI.Full 35 * @since 7 36 * @deprecated since 9 37 */ 38 None, 39 40 /** 41 * Normal mode 42 * 43 * @syscap SystemCapability.ArkUI.ArkUI.Full 44 * @since 7 45 * @deprecated since 9 46 */ 47 Normal, 48 49 /** 50 * Set opacity. 51 * 52 * @syscap SystemCapability.ArkUI.ArkUI.Full 53 * @since 7 54 * @deprecated since 9 55 */ 56 Opacity, 57} 58 59/** 60 * Declare whether the ListItem element is editable. 61 * 62 * @enum { number } 63 * @syscap SystemCapability.ArkUI.ArkUI.Full 64 * @since 7 65 * @deprecated since 9 66 */ 67declare enum EditMode { 68 /** 69 * Unrestricted operations. 70 * 71 * @syscap SystemCapability.ArkUI.ArkUI.Full 72 * @since 7 73 * @deprecated since 9 74 */ 75 None, 76 77 /** 78 * Deletable. 79 * 80 * @syscap SystemCapability.ArkUI.ArkUI.Full 81 * @since 7 82 * @deprecated since 9 83 */ 84 Deletable, 85 86 /** 87 * Movable. 88 * 89 * @syscap SystemCapability.ArkUI.ArkUI.Full 90 * @since 7 91 * @deprecated since 9 92 */ 93 Movable, 94} 95 96/** 97 * Sliding effect 98 * 99 * @enum { number } 100 * @syscap SystemCapability.ArkUI.ArkUI.Full 101 * @since 9 102 */ 103/** 104 * Sliding effect 105 * 106 * @enum { number } 107 * @syscap SystemCapability.ArkUI.ArkUI.Full 108 * @crossplatform 109 * @since 10 110 */ 111/** 112 * Sliding effect 113 * 114 * @enum { number } 115 * @syscap SystemCapability.ArkUI.ArkUI.Full 116 * @crossplatform 117 * @atomicservice 118 * @since 11 119 */ 120declare enum SwipeEdgeEffect { 121 /** 122 * Elastic physical action, sliding to the edge can continue to slide for a distance based on the initial speed or touch event, and spring back when released. 123 * 124 * @syscap SystemCapability.ArkUI.ArkUI.Full 125 * @since 9 126 */ 127 /** 128 * Elastic physical action, sliding to the edge can continue to slide for a distance based on the initial speed or touch event, and spring back when released. 129 * 130 * @syscap SystemCapability.ArkUI.ArkUI.Full 131 * @crossplatform 132 * @since 10 133 */ 134 /** 135 * Elastic physical action, sliding to the edge can continue to slide for a distance based on the initial speed or touch event, and spring back when released. 136 * 137 * @syscap SystemCapability.ArkUI.ArkUI.Full 138 * @crossplatform 139 * @atomicservice 140 * @since 11 141 */ 142 Spring, 143 144 /** 145 * Sliding to the edge has no effect. 146 * 147 * @syscap SystemCapability.ArkUI.ArkUI.Full 148 * @since 9 149 */ 150 /** 151 * Sliding to the edge has no effect. 152 * 153 * @syscap SystemCapability.ArkUI.ArkUI.Full 154 * @crossplatform 155 * @since 10 156 */ 157 /** 158 * Sliding to the edge has no effect. 159 * 160 * @syscap SystemCapability.ArkUI.ArkUI.Full 161 * @crossplatform 162 * @atomicservice 163 * @since 11 164 */ 165 None, 166} 167 168/** 169 * Declare enum SwipeActionState. 170 * 171 * @enum { number } 172 * @syscap SystemCapability.ArkUI.ArkUI.Full 173 * @crossplatform 174 * @since 11 175 */ 176/** 177 * Declare enum SwipeActionState. 178 * 179 * @enum { number } 180 * @syscap SystemCapability.ArkUI.ArkUI.Full 181 * @crossplatform 182 * @atomicservice 183 * @since 12 184 */ 185declare enum SwipeActionState { 186 /** 187 * Collapsed type. 188 * 189 * @syscap SystemCapability.ArkUI.ArkUI.Full 190 * @since 11 191 */ 192 /** 193 * Collapsed type. 194 * 195 * @syscap SystemCapability.ArkUI.ArkUI.Full 196 * @atomicservice 197 * @since 12 198 */ 199 COLLAPSED, 200 201 /** 202 * EXPANDED type. 203 * 204 * @syscap SystemCapability.ArkUI.ArkUI.Full 205 * @since 11 206 */ 207 /** 208 * EXPANDED type. 209 * 210 * @syscap SystemCapability.ArkUI.ArkUI.Full 211 * @atomicservice 212 * @since 12 213 */ 214 EXPANDED, 215 216 /** 217 * Action type. 218 * 219 * @syscap SystemCapability.ArkUI.ArkUI.Full 220 * @since 11 221 */ 222 /** 223 * Action type. 224 * 225 * @syscap SystemCapability.ArkUI.ArkUI.Full 226 * @atomicservice 227 * @since 12 228 */ 229 ACTIONING, 230} 231 232/** 233 * Defines the swipe action item for SwipeActionOptions. 234 * 235 * @interface SwipeActionItem 236 * @syscap SystemCapability.ArkUI.ArkUI.Full 237 * @since 10 238 */ 239/** 240 * Defines the swipe action item for SwipeActionOptions. 241 * 242 * @interface SwipeActionItem 243 * @syscap SystemCapability.ArkUI.ArkUI.Full 244 * @crossplatform 245 * @atomicservice 246 * @since 11 247 */ 248declare interface SwipeActionItem { 249 /** 250 * An action item that appears when a list item slides right (when list direction is Vertical) or 251 * slides down (when list direction Horizontal). 252 * 253 * @type { ?CustomBuilder } 254 * @syscap SystemCapability.ArkUI.ArkUI.Full 255 * @since 10 256 */ 257 /** 258 * An action item that appears when a list item slides right (when list direction is Vertical) or 259 * slides down (when list direction Horizontal). 260 * 261 * @type { ?CustomBuilder } 262 * @syscap SystemCapability.ArkUI.ArkUI.Full 263 * @crossplatform 264 * @atomicservice 265 * @since 11 266 */ 267 builder?: CustomBuilder; 268 269 /** 270 * An action item that appears when a list item slides right (when list direction is Vertical) or 271 * slides down (when list direction Horizontal). 272 * 273 * @type { ?ComponentContent } 274 * @syscap SystemCapability.ArkUI.ArkUI.Full 275 * @crossplatform 276 * @atomicservice 277 * @since 18 278 */ 279 builderComponent?: ComponentContent; 280 281 /** 282 * Defines distance for the delete area. 283 * 284 * @type { ?Length } 285 * @default 56vp 286 * @syscap SystemCapability.ArkUI.ArkUI.Full 287 * @since 10 288 */ 289 /** 290 * Defines distance for the delete area. 291 * 292 * @type { ?Length } 293 * @default 56vp 294 * @syscap SystemCapability.ArkUI.ArkUI.Full 295 * @crossplatform 296 * @atomicservice 297 * @since 11 298 */ 299 actionAreaDistance?: Length; 300 301 /** 302 * Called when ListItem need to be deleted. 303 * 304 * @type { ?function } 305 * @syscap SystemCapability.ArkUI.ArkUI.Full 306 * @since 10 307 */ 308 /** 309 * Called when ListItem need to be deleted. 310 * 311 * @type { ?function } 312 * @syscap SystemCapability.ArkUI.ArkUI.Full 313 * @crossplatform 314 * @atomicservice 315 * @since 11 316 */ 317 onAction?: () => void; 318 319 /** 320 * Called when swipe entry delete area. 321 * 322 * @type { ?function } 323 * @syscap SystemCapability.ArkUI.ArkUI.Full 324 * @since 10 325 */ 326 /** 327 * Called when swipe entry delete area. 328 * 329 * @type { ?function } 330 * @syscap SystemCapability.ArkUI.ArkUI.Full 331 * @crossplatform 332 * @atomicservice 333 * @since 11 334 */ 335 onEnterActionArea?: () => void; 336 337 /** 338 * Called when swipe exit delete area. 339 * 340 * @type { ?function } 341 * @syscap SystemCapability.ArkUI.ArkUI.Full 342 * @since 10 343 */ 344 /** 345 * Called when swipe exit delete area. 346 * 347 * @type { ?function } 348 * @syscap SystemCapability.ArkUI.ArkUI.Full 349 * @crossplatform 350 * @atomicservice 351 * @since 11 352 */ 353 onExitActionArea?: () => void; 354 355 /** 356 * Called when component swipe action state changed. 357 * 358 * @type { ?function } 359 * @syscap SystemCapability.ArkUI.ArkUI.Full 360 * @crossplatform 361 * @since 11 362 */ 363 /** 364 * Called when component swipe action state changed. 365 * 366 * @type { ?function } 367 * @syscap SystemCapability.ArkUI.ArkUI.Full 368 * @crossplatform 369 * @atomicservice 370 * @since 12 371 */ 372 onStateChange?: (state: SwipeActionState) => void; 373} 374 375/** 376 * Defines the SwipeActionOption of swipeAction attribute method. 377 * 378 * @interface SwipeActionOptions 379 * @syscap SystemCapability.ArkUI.ArkUI.Full 380 * @since 9 381 */ 382/** 383 * Defines the SwipeActionOption of swipeAction attribute method. 384 * 385 * @interface SwipeActionOptions 386 * @syscap SystemCapability.ArkUI.ArkUI.Full 387 * @crossplatform 388 * @since 10 389 */ 390/** 391 * Defines the SwipeActionOption of swipeAction attribute method. 392 * 393 * @interface SwipeActionOptions 394 * @syscap SystemCapability.ArkUI.ArkUI.Full 395 * @crossplatform 396 * @atomicservice 397 * @since 11 398 */ 399declare interface SwipeActionOptions { 400 /** 401 * An action item that appears when a list item slides right (when list direction is Vertical) or 402 * slides down (when list direction Horizontal). 403 * 404 * @type { ?(CustomBuilder | SwipeActionItem) } 405 * @syscap SystemCapability.ArkUI.ArkUI.Full 406 * @since 9 407 */ 408 /** 409 * An action item that appears when a list item slides right (when list direction is Vertical) or 410 * slides down (when list direction Horizontal). 411 * 412 * @type { ?(CustomBuilder | SwipeActionItem) } 413 * @syscap SystemCapability.ArkUI.ArkUI.Full 414 * @crossplatform 415 * @since 10 416 */ 417 /** 418 * An action item that appears when a list item slides right (when list direction is Vertical) or 419 * slides down (when list direction Horizontal). 420 * 421 * @type { ?(CustomBuilder | SwipeActionItem) } 422 * @syscap SystemCapability.ArkUI.ArkUI.Full 423 * @crossplatform 424 * @atomicservice 425 * @since 11 426 */ 427 start?: CustomBuilder | SwipeActionItem; 428 429 /** 430 * An action item that appears when a list item slides left (when list direction is Vertical) or 431 * slides up (when list direction Horizontal). 432 * 433 * @type { ?(CustomBuilder | SwipeActionItem) } 434 * @syscap SystemCapability.ArkUI.ArkUI.Full 435 * @since 9 436 */ 437 /** 438 * An action item that appears when a list item slides left (when list direction is Vertical) or 439 * slides up (when list direction Horizontal). 440 * 441 * @type { ?(CustomBuilder | SwipeActionItem) } 442 * @syscap SystemCapability.ArkUI.ArkUI.Full 443 * @crossplatform 444 * @since 10 445 */ 446 /** 447 * An action item that appears when a list item slides left (when list direction is Vertical) or 448 * slides up (when list direction Horizontal). 449 * 450 * @type { ?(CustomBuilder | SwipeActionItem) } 451 * @syscap SystemCapability.ArkUI.ArkUI.Full 452 * @crossplatform 453 * @atomicservice 454 * @since 11 455 */ 456 end?: CustomBuilder | SwipeActionItem; 457 458 /** 459 * Sets whether sliding to a boundary has a spring effect. 460 * 461 * @type { ?SwipeEdgeEffect } 462 * @syscap SystemCapability.ArkUI.ArkUI.Full 463 * @since 9 464 */ 465 /** 466 * Sets whether sliding to a boundary has a spring effect. 467 * 468 * @type { ?SwipeEdgeEffect } 469 * @syscap SystemCapability.ArkUI.ArkUI.Full 470 * @crossplatform 471 * @since 10 472 */ 473 /** 474 * Sets whether sliding to a boundary has a spring effect. 475 * 476 * @type { ?SwipeEdgeEffect } 477 * @syscap SystemCapability.ArkUI.ArkUI.Full 478 * @crossplatform 479 * @atomicservice 480 * @since 11 481 */ 482 edgeEffect?: SwipeEdgeEffect; 483 484 /** 485 * Called when swipe action offset changed. 486 * 487 * @type { ?function } 488 * @syscap SystemCapability.ArkUI.ArkUI.Full 489 * @crossplatform 490 * @since 11 491 */ 492 /** 493 * Called when swipe action offset changed. 494 * 495 * @type { ?function } 496 * @syscap SystemCapability.ArkUI.ArkUI.Full 497 * @crossplatform 498 * @atomicservice 499 * @since 12 500 */ 501 onOffsetChange?: (offset: number) => void; 502} 503 504/** 505 * Defines the list item style. 506 * 507 * @enum { number } 508 * @syscap SystemCapability.ArkUI.ArkUI.Full 509 * @since 10 510 */ 511/** 512 * Defines the list item style. 513 * 514 * @enum { number } 515 * @syscap SystemCapability.ArkUI.ArkUI.Full 516 * @crossplatform 517 * @atomicservice 518 * @since 11 519 */ 520declare enum ListItemStyle { 521 /** 522 * Show custom style. 523 * 524 * @syscap SystemCapability.ArkUI.ArkUI.Full 525 * @since 10 526 */ 527 /** 528 * Show custom style. 529 * 530 * @syscap SystemCapability.ArkUI.ArkUI.Full 531 * @crossplatform 532 * @atomicservice 533 * @since 11 534 */ 535 NONE = 0, 536 537 /** 538 * Show default style. 539 * 540 * @syscap SystemCapability.ArkUI.ArkUI.Full 541 * @since 10 542 */ 543 /** 544 * Show default style. 545 * 546 * @syscap SystemCapability.ArkUI.ArkUI.Full 547 * @crossplatform 548 * @atomicservice 549 * @since 11 550 */ 551 CARD = 1, 552} 553 554/** 555 * Defines the list item options. 556 * 557 * @interface ListItemOptions 558 * @syscap SystemCapability.ArkUI.ArkUI.Full 559 * @since 10 560 */ 561/** 562 * Defines the list item options. 563 * 564 * @interface ListItemOptions 565 * @syscap SystemCapability.ArkUI.ArkUI.Full 566 * @crossplatform 567 * @atomicservice 568 * @since 11 569 */ 570declare interface ListItemOptions { 571 /** 572 * Describes the ListItem style. 573 * 574 * @type { ?ListItemStyle } 575 * @syscap SystemCapability.ArkUI.ArkUI.Full 576 * @since 10 577 */ 578 /** 579 * Describes the ListItem style. 580 * 581 * @type { ?ListItemStyle } 582 * @syscap SystemCapability.ArkUI.ArkUI.Full 583 * @crossplatform 584 * @atomicservice 585 * @since 11 586 */ 587 style?: ListItemStyle; 588} 589 590/** 591 * Values in the list 592 * 593 * @interface ListItemInterface 594 * @syscap SystemCapability.ArkUI.ArkUI.Full 595 * @since 7 596 */ 597/** 598 * Values in the list 599 * 600 * @interface ListItemInterface 601 * @syscap SystemCapability.ArkUI.ArkUI.Full 602 * @form 603 * @since 9 604 */ 605/** 606 * Values in the list 607 * 608 * @interface ListItemInterface 609 * @syscap SystemCapability.ArkUI.ArkUI.Full 610 * @crossplatform 611 * @form 612 * @since 10 613 */ 614/** 615 * Values in the list 616 * 617 * @interface ListItemInterface 618 * @syscap SystemCapability.ArkUI.ArkUI.Full 619 * @crossplatform 620 * @form 621 * @atomicservice 622 * @since 11 623 */ 624interface ListItemInterface { 625 /** 626 * Called when an interface is used. 627 * 628 * @param { ListItemOptions } value 629 * @returns { ListItemAttribute } 630 * @syscap SystemCapability.ArkUI.ArkUI.Full 631 * @crossplatform 632 * @form 633 * @since 10 634 */ 635 /** 636 * Called when an interface is used. 637 * 638 * @param { ListItemOptions } value 639 * @returns { ListItemAttribute } 640 * @syscap SystemCapability.ArkUI.ArkUI.Full 641 * @crossplatform 642 * @form 643 * @atomicservice 644 * @since 11 645 */ 646 (value?: ListItemOptions): ListItemAttribute; 647 648 /** 649 * Called when an interface is used. 650 * 651 * @param { string } value 652 * @returns { ListItemAttribute } 653 * @syscap SystemCapability.ArkUI.ArkUI.Full 654 * @since 7 655 */ 656 /** 657 * Called when an interface is used. 658 * 659 * @param { string } value 660 * @returns { ListItemAttribute } 661 * @syscap SystemCapability.ArkUI.ArkUI.Full 662 * @form 663 * @since 9 664 * @deprecated since 10 665 * @useinstead listItem/ListItemInterface 666 */ 667 (value?: string): ListItemAttribute; 668} 669 670/** 671 * @extends CommonMethod<ListItemAttribute> 672 * @syscap SystemCapability.ArkUI.ArkUI.Full 673 * @since 7 674 */ 675/** 676 * @extends CommonMethod<ListItemAttribute> 677 * @syscap SystemCapability.ArkUI.ArkUI.Full 678 * @form 679 * @since 9 680 */ 681/** 682 * @extends CommonMethod<ListItemAttribute> 683 * @syscap SystemCapability.ArkUI.ArkUI.Full 684 * @crossplatform 685 * @form 686 * @since 10 687 */ 688/** 689 * @extends CommonMethod<ListItemAttribute> 690 * @syscap SystemCapability.ArkUI.ArkUI.Full 691 * @crossplatform 692 * @form 693 * @atomicservice 694 * @since 11 695 */ 696declare class ListItemAttribute extends CommonMethod<ListItemAttribute> { 697 /** 698 * Called when setting whether item is ceiling effect. 699 * 700 * @param { Sticky } value 701 * @returns { ListItemAttribute } 702 * @syscap SystemCapability.ArkUI.ArkUI.Full 703 * @since 7 704 * @deprecated since 9 705 * @useinstead list/List#sticky 706 */ 707 sticky(value: Sticky): ListItemAttribute; 708 709 /** 710 * Called when judging whether it is editable. 711 * 712 * @param { boolean | EditMode } value 713 * @returns { ListItemAttribute } 714 * @syscap SystemCapability.ArkUI.ArkUI.Full 715 * @since 7 716 * @deprecated since 9 717 */ 718 editable(value: boolean | EditMode): ListItemAttribute; 719 720 /** 721 * Called when judging whether it is selectable. 722 * 723 * @param { boolean } value 724 * @returns { ListItemAttribute } 725 * @syscap SystemCapability.ArkUI.ArkUI.Full 726 * @since 8 727 */ 728 /** 729 * Called when judging whether it is selectable. 730 * 731 * @param { boolean } value 732 * @returns { ListItemAttribute } 733 * @syscap SystemCapability.ArkUI.ArkUI.Full 734 * @form 735 * @since 9 736 */ 737 /** 738 * Called when judging whether it is selectable. 739 * 740 * @param { boolean } value 741 * @returns { ListItemAttribute } 742 * @syscap SystemCapability.ArkUI.ArkUI.Full 743 * @crossplatform 744 * @form 745 * @since 10 746 */ 747 /** 748 * Called when judging whether it is selectable. 749 * 750 * @param { boolean } value 751 * @returns { ListItemAttribute } 752 * @syscap SystemCapability.ArkUI.ArkUI.Full 753 * @crossplatform 754 * @form 755 * @atomicservice 756 * @since 11 757 */ 758 selectable(value: boolean): ListItemAttribute; 759 760 /** 761 * Called when judging whether it is selected. 762 * This parameter supports $$ for two-way binding of variables. 763 * 764 * @param { boolean } value - if the listItem is selected. 765 * @returns { ListItemAttribute } the attribute of the listItem. 766 * @syscap SystemCapability.ArkUI.ArkUI.Full 767 * @crossplatform 768 * @form 769 * @since 10 770 */ 771 /** 772 * Called when judging whether it is selected. 773 * This parameter supports $$ for two-way binding of variables. 774 * 775 * @param { boolean } value - if the listItem is selected. 776 * @returns { ListItemAttribute } the attribute of the listItem. 777 * @syscap SystemCapability.ArkUI.ArkUI.Full 778 * @crossplatform 779 * @form 780 * @atomicservice 781 * @since 11 782 */ 783 selected(value: boolean): ListItemAttribute; 784 785 /** 786 * Sets the action item that appears when the list item slides in the cross axis direction of the list. 787 * 788 * @param { SwipeActionOptions } value - items defines in the SwipeActionOption. 789 * @returns { ListItemAttribute } 790 * @syscap SystemCapability.ArkUI.ArkUI.Full 791 * @since 9 792 */ 793 /** 794 * Sets the action item that appears when the list item slides in the cross axis direction of the list. 795 * 796 * @param { SwipeActionOptions } value - items defines in the SwipeActionOption. 797 * @returns { ListItemAttribute } 798 * @syscap SystemCapability.ArkUI.ArkUI.Full 799 * @crossplatform 800 * @since 10 801 */ 802 /** 803 * Sets the action item that appears when the list item slides in the cross axis direction of the list. 804 * 805 * @param { SwipeActionOptions } value - items defines in the SwipeActionOption. 806 * @returns { ListItemAttribute } 807 * @syscap SystemCapability.ArkUI.ArkUI.Full 808 * @crossplatform 809 * @atomicservice 810 * @since 11 811 */ 812 swipeAction(value: SwipeActionOptions): ListItemAttribute; 813 814 /** 815 * Called when the listItem is selected. 816 * 817 * @param { function } event 818 * @returns { ListItemAttribute } 819 * @syscap SystemCapability.ArkUI.ArkUI.Full 820 * @since 8 821 */ 822 /** 823 * Called when the listItem is selected. 824 * 825 * @param { function } event 826 * @returns { ListItemAttribute } 827 * @syscap SystemCapability.ArkUI.ArkUI.Full 828 * @form 829 * @since 9 830 */ 831 /** 832 * Called when the listItem is selected. 833 * 834 * @param { function } event 835 * @returns { ListItemAttribute } 836 * @syscap SystemCapability.ArkUI.ArkUI.Full 837 * @crossplatform 838 * @form 839 * @since 10 840 */ 841 /** 842 * Called when the listItem is selected. 843 * 844 * @param { function } event 845 * @returns { ListItemAttribute } 846 * @syscap SystemCapability.ArkUI.ArkUI.Full 847 * @crossplatform 848 * @form 849 * @atomicservice 850 * @since 11 851 */ 852 onSelect(event: (isSelected: boolean) => void): ListItemAttribute; 853} 854 855/** 856 * Defines ListItem Component instance. 857 * 858 * @syscap SystemCapability.ArkUI.ArkUI.Full 859 * @since 7 860 */ 861/** 862 * Defines ListItem Component instance. 863 * 864 * @syscap SystemCapability.ArkUI.ArkUI.Full 865 * @form 866 * @since 9 867 */ 868/** 869 * Defines ListItem Component instance. 870 * 871 * @syscap SystemCapability.ArkUI.ArkUI.Full 872 * @crossplatform 873 * @form 874 * @since 10 875 */ 876/** 877 * Defines ListItem Component instance. 878 * 879 * @syscap SystemCapability.ArkUI.ArkUI.Full 880 * @crossplatform 881 * @form 882 * @atomicservice 883 * @since 11 884 */ 885declare const ListItemInstance: ListItemAttribute; 886 887/** 888 * Defines ListItem Component. 889 * 890 * @syscap SystemCapability.ArkUI.ArkUI.Full 891 * @since 7 892 */ 893/** 894 * Defines ListItem Component. 895 * 896 * @syscap SystemCapability.ArkUI.ArkUI.Full 897 * @form 898 * @since 9 899 */ 900/** 901 * Defines ListItem Component. 902 * 903 * @syscap SystemCapability.ArkUI.ArkUI.Full 904 * @crossplatform 905 * @form 906 * @since 10 907 */ 908/** 909 * Defines ListItem Component. 910 * 911 * @syscap SystemCapability.ArkUI.ArkUI.Full 912 * @crossplatform 913 * @form 914 * @atomicservice 915 * @since 11 916 */ 917declare const ListItem: ListItemInterface; 918 919