# Collapse

# Basic Usage:

ECMAScript 6 Introduction
ECMAScript 6.0 (hereinafter referred to as ES6) is the next generation standard of JavaScript language, which was officially released in June 2015. Its goal is to make JavaScript language can be used to write complex large-scale applications and become an enterprise-level development language.
Syntax of Module
Deconstruction assignment of variables
Let and const commands
显示代码

# Accordion:

ECMAScript 6 Introduction
Syntax of Module
Deconstruction assignment of variables
Simplify the process: design simple and intuitive operation process;
ES6 allows extracting values from arrays and objects and assigning values to variables according to certain patterns, which is called deconstruction.
Let and const commands
显示代码

# Attribute

Parameter Description Type Optional Value Default Value
v-model Expanded items String,Array Name value of the item -
accordion Accordion Boolean - false

# Event

Event name Description Callback parameter
change Change event the array collection of Expand items
Last Updated: 3/3/2023, 10:59:23 AM