Skip to content

Add support for attributes with array values#38

Open
LewsTherinTelescope wants to merge 1 commit intoTheKnarf:masterfrom
LewsTherinTelescope:attributes-with-arrays
Open

Add support for attributes with array values#38
LewsTherinTelescope wants to merge 1 commit intoTheKnarf:masterfrom
LewsTherinTelescope:attributes-with-arrays

Conversation

@LewsTherinTelescope
Copy link
Copy Markdown

If an array is passed, it will join the values together with a space, for compatibility with the class attribute. For example, class={['class1', 'class2', 'class3']} will now become class="class1 class2 class3".

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.

1 participant