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

Add rtagClass and wtagClass support #13

Merged
merged 3 commits into from
Jul 10, 2017
Merged

Conversation

HardlyMirage
Copy link
Contributor

Added two new options rtagClass and wtagClass to allow setting classes on the root and item wrappers. Both options use the same API as Vue's v-bind:class

@tangbc
Copy link
Owner

tangbc commented Jul 10, 2017

@HardlyMirage Thank your pr and fix my poor English on the documentation 😂

I think a prop or attribute named as lowerCase is better than camel-case, for sometimes it will be used in a HTML element instead of .vue template, so I changed the prop name rtagClass to rclass, wtagClass to wclass.

@tangbc tangbc merged commit bf0be12 into tangbc:master Jul 10, 2017
tangbc added a commit that referenced this pull request Jul 10, 2017
tangbc added a commit that referenced this pull request Jul 10, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants