Skip to content

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