• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{
2  "name": "swiper",
3  "version": [
4    {
5      "name": "v3.0"
6    }
7  ],
8  "syscap": [
9    "SystemCapability.ArkUI.ArkUI.Full",
10    "SystemCapability.ArkUI.ArkUI.Lite"
11  ],
12  "description": [
13    {
14      "name": "The <swiper> component provides a swiper container that enables the switch of child components."
15    }
16  ],
17  "attributes": [
18    {
19      "name": "index",
20      "required": false,
21      "description": [
22        {
23          "name": "Index of the child component currently displayed in the container."
24        }
25      ],
26      "type": "number"
27    },
28    {
29      "name": "autoplay",
30      "syscap": [
31        "SystemCapability.ArkUI.ArkUI.Full"
32      ],
33      "required": false,
34      "description": [
35        {
36          "name": "Whether to enable autoplay for the child component.",
37          "syscap": [
38            "SystemCapability.ArkUI.ArkUI.Full"
39          ]
40        }
41      ],
42      "type": "enum",
43      "options": [
44        {
45          "name": "true"
46        },
47        {
48          "name": "false"
49        }
50      ]
51    },
52    {
53      "name": "interval",
54      "syscap": [
55        "SystemCapability.ArkUI.ArkUI.Full"
56      ],
57      "required": false,
58      "description": [
59        {
60          "name": "Autoplay interval, in milliseconds, when autoplay is enabled.",
61          "syscap": [
62            "SystemCapability.ArkUI.ArkUI.Full"
63          ]
64        }
65      ],
66      "type": "number"
67    },
68    {
69      "name": "indicator",
70      "syscap": [
71        "SystemCapability.ArkUI.ArkUI.Full"
72      ],
73      "required": false,
74      "description": [
75        {
76          "name": "Whether to enable the navigation point indicator. The default value is true.",
77          "syscap": [
78            "SystemCapability.ArkUI.ArkUI.Full"
79          ]
80        }
81      ],
82      "type": "enum",
83      "options": [
84        {
85          "name": "true"
86        },
87        {
88          "name": "false"
89        }
90      ]
91    },
92    {
93      "name": "indicatormask",
94      "syscap": [
95        "SystemCapability.ArkUI.ArkUI.Full"
96      ],
97      "required": false,
98      "description": [
99        {
100          "name": "Whether to use the indicator mask. If this attribute is set to true, the indicator has a gradient mask.",
101          "syscap": [
102            "SystemCapability.ArkUI.ArkUI.Full"
103          ]
104        }
105      ],
106      "type": "enum",
107      "options": [
108        {
109          "name": "true"
110        },
111        {
112          "name": "false"
113        }
114      ]
115    },
116    {
117      "name": "digital",
118      "syscap": [
119        "SystemCapability.ArkUI.ArkUI.Full"
120      ],
121      "version": [
122        {
123          "name": "v5.0"
124        }
125      ],
126      "required": false,
127      "description": [
128        {
129          "name": "Indicates whether to enable the digital navigation point. The default value is false.",
130          "syscap": [
131            "SystemCapability.ArkUI.ArkUI.Full"
132          ]
133        }
134      ],
135      "type": "enum",
136      "options": [
137        {
138          "name": "false"
139        },
140        {
141          "name": "true"
142        }
143      ]
144    },
145    {
146      "name": "indicatordisabled",
147      "syscap": [
148        "SystemCapability.ArkUI.ArkUI.Full"
149      ],
150      "version": [
151        {
152          "name": "v5.0"
153        }
154      ],
155      "required": false,
156      "description": [
157        {
158          "name": "Indicates whether the indicator prohibits user gesture operations. If this parameter is set to true, the indicator does not respond to user taps and drags.",
159          "syscap": [
160            "SystemCapability.ArkUI.ArkUI.Full"
161          ]
162        }
163      ],
164      "type": "enum",
165      "options": [
166        {
167          "name": "false"
168        },
169        {
170          "name": "true"
171        }
172      ]
173    },
174    {
175      "name": "loop",
176      "required": false,
177      "description": [
178        {
179          "name": "Whether to enable looping.",
180          "syscap": [
181            "SystemCapability.ArkUI.ArkUI.Full"
182          ]
183        },
184        {
185          "name": "Whether to enable looping. Dynamic modification is not supported. NOTE This attribute takes effect only when the following conditions are met: The total length of the child components, except for the first one, is greater than or equal to the length of <swiper>. The total length of the child components, except for the last one, is greater than or equal to the length of <swiper>.",
186          "syscap": [
187            "SystemCapability.ArkUI.ArkUI.Lite"
188          ]
189        }
190      ],
191      "type": "enum",
192      "options": [
193        {
194          "name": "true"
195        },
196        {
197          "name": "false"
198        }
199      ]
200    },
201    {
202      "name": "duration",
203      "required": false,
204      "description": [
205        {
206          "name": "Duration of the animation played for switching between child components."
207        }
208      ],
209      "type": "enum",
210      "options": [
211        {
212          "name": "true"
213        },
214        {
215          "name": "false"
216        }
217      ]
218    },
219    {
220      "name": "vertical",
221      "required": false,
222      "description": [
223        {
224          "name": "Whether the swipe gesture is performed vertically. A vertical swipe uses the vertical indicator. Dynamic modification is not supported."
225        }
226      ],
227      "type": "enum",
228      "options": [
229        {
230          "name": "true"
231        },
232        {
233          "name": "false"
234        }
235      ]
236    },
237    {
238      "name": "cachedsize",
239      "syscap": [
240        "SystemCapability.ArkUI.ArkUI.Full"
241      ],
242      "version": [
243        {
244          "name": "v7.0"
245        }
246      ],
247      "required": false,
248      "description": [
249        {
250          "name": "Sets the number of sub-elements loaded in front of and back of the current page of the swiper.",
251          "syscap": [
252            "SystemCapability.ArkUI.ArkUI.Full"
253          ]
254        }
255      ],
256      "type": "number"
257    },
258    {
259      "name": "scrolleffect",
260      "syscap": [
261        "SystemCapability.ArkUI.ArkUI.Full"
262      ],
263      "version": [
264        {
265          "name": "v7.0"
266        }
267      ],
268      "required": false,
269      "description": [
270        {
271          "name": "Sets the boundary bounce effect.\nSpring: elastic physical action. After sliding to the edge, you can continue sliding for a certain distance based on the initial speed or touch event. When you release the hand, you can spring back.\nFading: The physical effect of fading. When you slide to the edge, a wave-like fading is displayed. The fading also changes according to the speed and sliding distance.\nnone: No effect is displayed when the user slides to the edge.",
272          "syscap": [
273            "SystemCapability.ArkUI.ArkUI.Full"
274          ]
275        }
276      ],
277      "type": "enum",
278      "options": [
279        {
280          "name": "spring"
281        },
282        {
283          "name": "fade"
284        },
285        {
286          "name": "none"
287        }
288      ]
289    },
290    {
291      "name": "displaymode",
292      "syscap": [
293        "SystemCapability.ArkUI.ArkUI.Full"
294      ],
295      "version": [
296        {
297          "name": "v7.0"
298        }
299      ],
300      "required": false,
301      "description": [
302        {
303          "name": "Sets the size when the swiper container is on the spindle (Width when sliding horizontally, height when sliding vertically) Display mode in the swiper when the size of the subcomponent is greater than that of the subcomponent.",
304          "syscap": [
305            "SystemCapability.ArkUI.ArkUI.Full"
306          ]
307        }
308      ],
309      "type": "enum",
310      "options": [
311        {
312          "name": "stretch"
313        },
314        {
315          "name": "autoLinear"
316        }
317      ]
318    },
319    {
320      "name": "shareid",
321      "syscap": [
322        "SystemCapability.ArkUI.ArkUI.Full"
323      ],
324      "required": false,
325      "description": [
326        {
327          "name": "Used for the transition of shared elements and takes effect only when it is configured. This attribute cannot be modified after being set. list-item, image, text, button, label components are supported for the transition of shared elements.",
328          "syscap": [
329            "SystemCapability.ArkUI.ArkUI.Full"
330          ]
331        }
332      ],
333      "type": "string"
334    },
335    {
336      "name": "id",
337      "required": false,
338      "version": [
339        {
340          "name": "v4.0"
341        }
342      ],
343      "description": [
344        {
345          "name": "Unique ID of a component."
346        }
347      ],
348      "type": "string"
349    },
350    {
351      "name": "style",
352      "required": false,
353      "version": [
354        {
355          "name": "v4.0"
356        }
357      ],
358      "description": [
359        {
360          "name": "Style declaration of a component."
361        }
362      ],
363      "type": "string"
364    },
365    {
366      "name": "class",
367      "required": false,
368      "version": [
369        {
370          "name": "v4.0"
371        }
372      ],
373      "description": [
374        {
375          "name": "Style class of a component, which is used to refer to a style table."
376        }
377      ],
378      "type": "string"
379    },
380    {
381      "name": "ref",
382      "required": false,
383      "version": [
384        {
385          "name": "v4.0"
386        }
387      ],
388      "description": [
389        {
390          "name": "Used to register reference information of child elements or child components. The reference information is registered with the parent component on $refs."
391        }
392      ],
393      "type": "string"
394    },
395    {
396      "name": "disabled",
397      "syscap": [
398        "SystemCapability.ArkUI.ArkUI.Full"
399      ],
400      "required": false,
401      "version": [
402        {
403          "name": "v4.0"
404        }
405      ],
406      "description": [
407        {
408          "name": "Whether a component is disabled. If it is disabled, it cannot respond to user interaction.",
409          "syscap": [
410            "SystemCapability.ArkUI.ArkUI.Full"
411          ]
412        }
413      ],
414      "type": "enum",
415      "options": [
416        {
417          "name": "true"
418        },
419        {
420          "name": "false"
421        }
422      ]
423    },
424    {
425      "name": "focusable",
426      "syscap": [
427        "SystemCapability.ArkUI.ArkUI.Full"
428      ],
429      "required": false,
430      "version": [
431        {
432          "name": "v4.0"
433        }
434      ],
435      "description": [
436        {
437          "name": "Whether a component can gain focus. When focusable is set to true, the component can respond to focus events and key events. If a key event or click event is set for the component, this attribute is set to true automatically.",
438          "syscap": [
439            "SystemCapability.ArkUI.ArkUI.Full"
440          ]
441        }
442      ],
443      "type": "enum",
444      "options": [
445        {
446          "name": "true"
447        },
448        {
449          "name": "false"
450        }
451      ]
452    },
453    {
454      "name": "data-*",
455      "syscap": [
456        "SystemCapability.ArkUI.ArkUI.Full"
457      ],
458      "required": false,
459      "version": [
460        {
461          "name": "v4.0"
462        }
463      ],
464      "description": [
465        {
466          "name": "Attribute set for a component to facilitate data storage and reading.",
467          "syscap": [
468            "SystemCapability.ArkUI.ArkUI.Full"
469          ]
470        }
471      ],
472      "type": "string"
473    },
474    {
475      "name": "click-effect",
476      "syscap": [
477        "SystemCapability.ArkUI.ArkUI.Full"
478      ],
479      "required": false,
480      "version": [
481        {
482          "name": "v5.0"
483        }
484      ],
485      "description": [
486        {
487          "name": "Click effect complying with spring physics. Available values are as follows:\nspring-small: The button icon scales down to 90% of its size when it is selected. This is appropriate for small icons.\nspring-medium: The component scales down to 95% of its size when it is selected. This is appropriate for medium-sized components.spring-large: The button icon scales down and up by 95% of its size, which is appropriate to large icons.",
488          "syscap": [
489            "SystemCapability.ArkUI.ArkUI.Full"
490          ]
491        }
492      ],
493      "type": "enum",
494      "options": [
495        {
496          "name": "spring-small"
497        },
498        {
499          "name": "spring-medium"
500        },
501        {
502          "name": "spring-large"
503        }
504      ]
505    },
506    {
507      "name": "voicelabel",
508      "syscap": [
509        "SystemCapability.ArkUI.ArkUI.Full"
510      ],
511      "required": false,
512      "version": [
513        {
514          "name": "v4.0"
515        }
516      ],
517      "description": [
518        {
519          "name": "Voice label. When a voice label is triggered, the click event of the component is triggered.",
520          "syscap": [
521            "SystemCapability.ArkUI.ArkUI.Full"
522          ]
523        }
524      ],
525      "type": "string"
526    },
527    {
528      "name": "subscriptflag",
529      "syscap": [
530        "SystemCapability.ArkUI.ArkUI.Full"
531      ],
532      "required": false,
533      "version": [
534        {
535          "name": "v4.0"
536        }
537      ],
538      "description": [
539        {
540          "name": "Voice subscript switch. Available values are as follows:\nauto: For the <image> and <list-item> components, if subscriptflag is set to auto, the voice subscript is turned on. For other components, if subscriptflag is set to auto, the voice subscript is turned off.\non: Turn on the voice subscript.\noff: Turn off the voice subscript.If no customized subscript is set, the subscript is automatically accumulated from 1.",
541          "syscap": [
542            "SystemCapability.ArkUI.ArkUI.Full"
543          ]
544        }
545      ],
546      "type": "enum",
547      "options": [
548        {
549          "name": "auto"
550        },
551        {
552          "name": "on"
553        },
554        {
555          "name": "off"
556        }
557      ]
558    },
559    {
560      "name": "subscriptlabel",
561      "syscap": [
562        "SystemCapability.ArkUI.ArkUI.Full"
563      ],
564      "required": false,
565      "version": [
566        {
567          "name": "v4.0"
568        }
569      ],
570      "description": [
571        {
572          "name": "Custom subscript. After it is set, the subscript is displayed in the way you specified. To make this attribute take effect, you need to turn on the voice subscript.",
573          "syscap": [
574            "SystemCapability.ArkUI.ArkUI.Full"
575          ]
576        }
577      ],
578      "type": "string"
579    },
580    {
581      "name": "scenelabel",
582      "syscap": [
583        "SystemCapability.ArkUI.ArkUI.Full"
584      ],
585      "required": false,
586      "version": [
587        {
588          "name": "v4.0"
589        }
590      ],
591      "description": [
592        {
593          "name": "Available values are as follows:\nvideo: Video scenario. For example, to watch a video, a user can say the voiceLabel (usually the video name), play voiceLabel, see voiceLabel, or watch voiceLabel, etc.\naudio: Music scenario. For example, to listen to a song, a user can say the voiceLabel (usually the song name), play voiceLabel, or listen voiceLabel, etc.\npage: Page scenario. For example, to go to a page, a user can say the voiceLabel (usually the page name), switch to voiceLabel, go to voiceLabel, or jump to voiceLabel, etc.\nswitch: Switch scenario. For example, to turn on or turn off a switch, a user can say the voiceLabel (usually the switch name), turn on voiceLabel, open voiceLabel, turn off voiceLabel, close voiceLabel, etc.common: Common scenario, which is triggered by the voiceLabel.",
594          "syscap": [
595            "SystemCapability.ArkUI.ArkUI.Full"
596          ]
597        }
598      ],
599      "type": "enum",
600      "options": [
601        {
602          "name": "video"
603        },
604        {
605          "name": "audio"
606        },
607        {
608          "name": "page"
609        },
610        {
611          "name": "switch"
612        },
613        {
614          "name": "common"
615        }
616      ]
617    },
618    {
619      "name": "accessibilitygroup",
620      "syscap": [
621        "SystemCapability.ArkUI.ArkUI.Full"
622      ],
623      "required": false,
624      "version": [
625        {
626          "name": "v4.0"
627        }
628      ],
629      "description": [
630        {
631          "name": "Accessibility group. If this attribute is set to true, the component and all its child components form an entire selectable component, and the accessibility service will no longer available for the content of its child components.",
632          "syscap": [
633            "SystemCapability.ArkUI.ArkUI.Full"
634          ]
635        }
636      ],
637      "type": "enum",
638      "options": [
639        {
640          "name": "true"
641        },
642        {
643          "name": "false"
644        }
645      ]
646    },
647    {
648      "name": "accessibilitytext",
649      "syscap": [
650        "SystemCapability.ArkUI.ArkUI.Full"
651      ],
652      "required": false,
653      "version": [
654        {
655          "name": "v4.0"
656        }
657      ],
658      "description": [
659        {
660          "name": "Accessibility text. If a component does not contain text information, it will not be read when the component is selected by the screen reader. In this case, the screen reader user cannot know which component is selected. To solve this problem, you can set this attribute for components without text information. When the component is selected by the screen reader, the specified accessibility text will be read, informing the user which component is selected. If a component with this attribute set contains text information, only the accessibility text will be read.",
661          "syscap": [
662            "SystemCapability.ArkUI.ArkUI.Full"
663          ]
664        }
665      ],
666      "type": "string"
667    },
668    {
669      "name": "accessibilitydescription",
670      "syscap": [
671        "SystemCapability.ArkUI.ArkUI.Full"
672      ],
673      "required": false,
674      "version": [
675        {
676          "name": "v4.0"
677        }
678      ],
679      "description": [
680        {
681          "name": "Accessibility description. You can specify further explanation of the current component, for example, possible operation consequences, especially those cannot be learned from component attributes and accessibility text. You can set a detailed description text for the attribute of the component to help users understand the operation to be performed. If a component contains both text information and the accessibility description, the text is read first and then the accessibility description, when the component is selected.",
682          "syscap": [
683            "SystemCapability.ArkUI.ArkUI.Full"
684          ]
685        }
686      ],
687      "type": "string"
688    },
689    {
690      "name": "accessibilityimportance",
691      "syscap": [
692        "SystemCapability.ArkUI.ArkUI.Full"
693      ],
694      "required": false,
695      "version": [
696        {
697          "name": "v4.0"
698        }
699      ],
700      "description": [
701        {
702          "name": "Accessibility importance, which is used to decide whether a component can be identified by the accessibility service. The value can be auto, yes, no, or no-hide-descendants. The last value forces the screen reader to ignore the current component and all its subcomponents.\nyes: The current component is selectable for the accessibility service.no: The current component is not selectable for the accessibility service.",
703          "syscap": [
704            "SystemCapability.ArkUI.ArkUI.Full"
705          ]
706        }
707      ],
708      "type": "string"
709    },
710    {
711      "name": "for",
712      "required": false,
713      "version": [
714        {
715          "name": "v4.0"
716        }
717      ],
718      "description": [
719        {
720          "name": "Expands the current element based on the configured data list."
721        }
722      ],
723      "type": "string"
724    },
725    {
726      "name": "tid",
727      "required": false,
728      "version": [
729        {
730          "name": "v4.0"
731        }
732      ],
733      "description": [
734        {
735          "name": "The tid attribute accelerates the for loop and improves the re-rendering efficiency when data in a loop changes.\nThe tid attribute specifies the unique ID of each element in the array. If it is not specified, the index of each element in the array is used as the ID. For example, tid=\"id\" indicates that the id attribute of each element is its unique ID."
736        }
737      ],
738      "type": "string"
739    },
740    {
741      "name": "if",
742      "required": false,
743      "version": [
744        {
745          "name": "v4.0"
746        }
747      ],
748      "description": [
749        {
750          "name": "Whether the element is added or removed."
751        }
752      ],
753      "type": "enum",
754      "options": [
755        {
756          "name": "true"
757        },
758        {
759          "name": "false"
760        }
761      ]
762    },
763    {
764      "name": "dir",
765      "syscap": [
766        "SystemCapability.ArkUI.ArkUI.Full"
767      ],
768      "version": [
769        {
770          "name": "v6.0"
771        }
772      ],
773      "required": false,
774      "description": [
775        {
776          "name": "Sets the element layout mode. The rtl, ltr, and auto attributes can be set.",
777          "syscap": [
778            "SystemCapability.ArkUI.ArkUI.Full"
779          ]
780        }
781      ],
782      "type": "enum",
783      "options": [
784        {
785          "name": "ltr"
786        },
787        {
788          "name": "rtl"
789        },
790        {
791          "name": "auto"
792        }
793      ]
794    },
795    {
796      "name": "elif",
797      "required": false,
798      "version": [
799        {
800          "name": "v4.0"
801        }
802      ],
803      "description": [],
804      "type": "enum",
805      "options": [
806        {
807          "name": "true"
808        },
809        {
810          "name": "false"
811        }
812      ]
813    },
814    {
815      "name": "else",
816      "required": false,
817      "version": [
818        {
819          "name": "v4.0"
820        }
821      ],
822      "description": [],
823      "type": "string"
824    },
825    {
826      "name": "show",
827      "required": false,
828      "version": [
829        {
830          "name": "v4.0"
831        }
832      ],
833      "description": [
834        {
835          "name": "Whether the element is displayed or hidden."
836        }
837      ],
838      "type": "enum",
839      "options": [
840        {
841          "name": "true"
842        },
843        {
844          "name": "false"
845        }
846      ]
847    }
848  ],
849  "events": [
850    {
851      "name": "change",
852      "description": [
853        {
854          "name": "Triggered when the index of the currently displayed component changes."
855        }
856      ]
857    },
858    {
859      "name": "animationfinish",
860      "syscap": [
861        "SystemCapability.ArkUI.ArkUI.Full"
862      ],
863      "description": [
864        {
865          "name": "Trigger event at the end of the swiper animation",
866          "syscap": [
867            "SystemCapability.ArkUI.ArkUI.Full"
868          ]
869        }
870      ]
871    },
872    {
873      "name": "rotation",
874      "syscap": [
875        "SystemCapability.ArkUI.ArkUI.Full"
876      ],
877      "description": [
878        {
879          "name": "Triggered when the crown of the wearable rotates.",
880          "syscap": [
881            "SystemCapability.ArkUI.ArkUI.Full"
882          ]
883        }
884      ]
885    },
886    {
887      "name": "touchstart",
888      "syscap": [
889        "SystemCapability.ArkUI.ArkUI.Full"
890      ],
891      "version": [
892        {
893          "name": "v4.0"
894        }
895      ],
896      "description": [
897        {
898          "name": "The tapping starts",
899          "syscap": [
900            "SystemCapability.ArkUI.ArkUI.Full"
901          ]
902        }
903      ]
904    },
905    {
906      "name": "touchmove",
907      "syscap": [
908        "SystemCapability.ArkUI.ArkUI.Full"
909      ],
910      "version": [
911        {
912          "name": "v4.0"
913        }
914      ],
915      "description": [
916        {
917          "name": "The tapping moves.",
918          "syscap": [
919            "SystemCapability.ArkUI.ArkUI.Full"
920          ]
921        }
922      ]
923    },
924    {
925      "name": "touchcancel",
926      "syscap": [
927        "SystemCapability.ArkUI.ArkUI.Full"
928      ],
929      "version": [
930        {
931          "name": "v4.0"
932        }
933      ],
934      "description": [
935        {
936          "name": "The tapping is interrupted.",
937          "syscap": [
938            "SystemCapability.ArkUI.ArkUI.Full"
939          ]
940        }
941      ]
942    },
943    {
944      "name": "touchend",
945      "syscap": [
946        "SystemCapability.ArkUI.ArkUI.Full"
947      ],
948      "version": [
949        {
950          "name": "v4.0"
951        }
952      ],
953      "description": [
954        {
955          "name": "The tapping ends.",
956          "syscap": [
957            "SystemCapability.ArkUI.ArkUI.Full"
958          ]
959        }
960      ]
961    },
962    {
963      "name": "click",
964      "version": [
965        {
966          "name": "v4.0"
967        }
968      ],
969      "description": [
970        {
971          "name": "A component is clicked."
972        }
973      ]
974    },
975    {
976      "name": "longpress",
977      "version": [
978        {
979          "name": "v4.0"
980        }
981      ],
982      "description": [
983        {
984          "name": "A component is long pressed."
985        }
986      ]
987    },
988    {
989      "name": "doubleclick",
990      "version": [
991        {
992          "name": "v4.0"
993        }
994      ],
995      "description": [
996        {
997          "name": "A component is double clicked."
998        }
999      ]
1000    },
1001    {
1002      "name": "pinchstart",
1003      "version": [
1004        {
1005          "name": "v4.0"
1006        }
1007      ],
1008      "description": [
1009        {
1010          "name": "The pinch starts."
1011        }
1012      ]
1013    },
1014    {
1015      "name": "pinchupdate",
1016      "version": [
1017        {
1018          "name": "v4.0"
1019        }
1020      ],
1021      "description": [
1022        {
1023          "name": "The pinch updates."
1024        }
1025      ]
1026    },
1027    {
1028      "name": "pinchend",
1029      "version": [
1030        {
1031          "name": "v4.0"
1032        }
1033      ],
1034      "description": [
1035        {
1036          "name": "The pinch ends."
1037        }
1038      ]
1039    },
1040    {
1041      "name": "pinchcancel",
1042      "version": [
1043        {
1044          "name": "v4.0"
1045        }
1046      ],
1047      "description": [
1048        {
1049          "name": "The pinch is interrupted."
1050        }
1051      ]
1052    },
1053    {
1054      "name": "drag",
1055      "version": [
1056        {
1057          "name": "v7.0"
1058        }
1059      ],
1060      "description": [
1061        {
1062          "name": "The duration of drag."
1063        }
1064      ]
1065    },
1066    {
1067      "name": "dragstart",
1068      "version": [
1069        {
1070          "name": "v7.0"
1071        }
1072      ],
1073      "description": [
1074        {
1075          "name": "The drag starts."
1076        }
1077      ]
1078    },
1079    {
1080      "name": "dragend",
1081      "version": [
1082        {
1083          "name": "v7.0"
1084        }
1085      ],
1086      "description": [
1087        {
1088          "name": "The drag ends."
1089        }
1090      ]
1091    },
1092    {
1093      "name": "dragenter",
1094      "version": [
1095        {
1096          "name": "v7.0"
1097        }
1098      ],
1099      "description": [
1100        {
1101          "name": "The drag enters."
1102        }
1103      ]
1104    },
1105    {
1106      "name": "dragover",
1107      "version": [
1108        {
1109          "name": "v7.0"
1110        }
1111      ],
1112      "description": [
1113        {
1114          "name": "The drag overs."
1115        }
1116      ]
1117    },
1118    {
1119      "name": "dragleave",
1120      "version": [
1121        {
1122          "name": "v7.0"
1123        }
1124      ],
1125      "description": [
1126        {
1127          "name": "The drag leaves."
1128        }
1129      ]
1130    },
1131    {
1132      "name": "drop",
1133      "version": [
1134        {
1135          "name": "v7.0"
1136        }
1137      ],
1138      "description": [
1139        {
1140          "name": "The drag drops."
1141        }
1142      ]
1143    },
1144    {
1145      "name": "focus",
1146      "syscap": [
1147        "SystemCapability.ArkUI.ArkUI.Full"
1148      ],
1149      "version": [
1150        {
1151          "name": "v4.0"
1152        }
1153      ],
1154      "description": [
1155        {
1156          "name": "A component gains focus. The <span> component cannot gain focus.",
1157          "syscap": [
1158            "SystemCapability.ArkUI.ArkUI.Full"
1159          ]
1160        }
1161      ]
1162    },
1163    {
1164      "name": "blur",
1165      "syscap": [
1166        "SystemCapability.ArkUI.ArkUI.Full"
1167      ],
1168      "version": [
1169        {
1170          "name": "v4.0"
1171        }
1172      ],
1173      "description": [
1174        {
1175          "name": "A component loses focus. The <span> component cannot lose focus.",
1176          "syscap": [
1177            "SystemCapability.ArkUI.ArkUI.Full"
1178          ]
1179        }
1180      ]
1181    },
1182    {
1183      "name": "key",
1184      "syscap": [
1185        "SystemCapability.ArkUI.ArkUI.Full"
1186      ],
1187      "version": [
1188        {
1189          "name": "v4.0"
1190        }
1191      ],
1192      "description": [
1193        {
1194          "name": "A user presses a key on the remote control. Available return values are as follows:\ntrue: returned if the page processes the key event.\nfalse: returned if the default logic is used to process the key event.\nIf no value is returned, false is used as the return value.",
1195          "syscap": [
1196            "SystemCapability.ArkUI.ArkUI.Full"
1197          ]
1198        }
1199      ]
1200    },
1201    {
1202      "name": "swipe",
1203      "version": [
1204        {
1205          "name": "v5.0"
1206        }
1207      ],
1208      "description": [
1209        {
1210          "name": "A user quickly swipes on a component."
1211        }
1212      ]
1213    },
1214    {
1215      "name": "attached",
1216      "syscap": [
1217        "SystemCapability.ArkUI.ArkUI.Full"
1218      ],
1219      "version": [
1220        {
1221          "name": "v6.0"
1222        }
1223      ],
1224      "description": [
1225        {
1226          "name": "The current component is mounted to the render tree.",
1227          "syscap": [
1228            "SystemCapability.ArkUI.ArkUI.Full"
1229          ]
1230        }
1231      ]
1232    },
1233    {
1234      "name": "detached",
1235      "syscap": [
1236        "SystemCapability.ArkUI.ArkUI.Full"
1237      ],
1238      "version": [
1239        {
1240          "name": "v6.0"
1241        }
1242      ],
1243      "description": [
1244        {
1245          "name": "The current component is removed from the render tree.",
1246          "syscap": [
1247            "SystemCapability.ArkUI.ArkUI.Full"
1248          ]
1249        }
1250      ]
1251    },
1252    {
1253      "name": "accessibility",
1254      "syscap": [
1255        "SystemCapability.ArkUI.ArkUI.Full"
1256      ],
1257      "version": [
1258        {
1259          "name": "v4.0"
1260        }
1261      ],
1262      "description": [
1263        {
1264          "name": "Event dispatched by the accessibility service.",
1265          "syscap": [
1266            "SystemCapability.ArkUI.ArkUI.Full"
1267          ]
1268        }
1269      ]
1270    }
1271  ],
1272  "supportedSubComponents": true,
1273  "supportedSubComponentsRestriction": [],
1274  "unSupportSubComponentsRestriction": [
1275    {
1276      "name": "list"
1277    }
1278  ],
1279  "parentComponentsRestriction": []
1280}