Skip to content
New issue

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

Allow use array syntax in keep-alive include/exclude #5914

Closed
jkzing opened this issue Jun 19, 2017 · 1 comment
Closed

Allow use array syntax in keep-alive include/exclude #5914

jkzing opened this issue Jun 19, 2017 · 1 comment

Comments

@jkzing
Copy link
Member

jkzing commented Jun 19, 2017

What problem does this feature solve?

The comma-delimited string syntax is not so intuitional, and actually it is splitting the string into an array. So why not support array syntax directly?

What does the proposed API look like?

<keep-alive :include="['a', 'b', 'c']">
</keep-alive>
@Kingwl
Copy link
Member

Kingwl commented Jun 30, 2017

merged in #5956

@Kingwl Kingwl closed this as completed Jun 30, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants