We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
<recycle-list>
Change the compiler to support the new syntax.
for
list-data
alias
index
switch
template-key
case
template-type
Before:
<recycle-list :list-data="longList" template-key="cellType" alias="item" index="i"> <cell-slot template-type="A"> ... </cell-slot> <cell-slot template-type="B"> ... </cell-slot> </recycle-list>
After:
<recycle-list for="(item, i) in longList" switch="cellType"> <cell-slot case="A"> ... </cell-slot> <cell-slot case="B"> ... </cell-slot> </recycle-list>
The data of longList still should be binding with the <recycle-list>.
longList
The text was updated successfully, but these errors were encountered:
done in vuejs/vue@7cc0b55
Sorry, something went wrong.
No branches or pull requests
Syntax
Change the compiler to support the new syntax.
for
instead of thelist-data
,alias
andindex
.switch
instead of thetemplate-key
.case
instead of thetemplate-type
.Examples
Before:
After:
The data of
longList
still should be binding with the<recycle-list>
.The text was updated successfully, but these errors were encountered: