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

How to use with uikit? #135

Closed
iganza opened this issue May 7, 2023 · 2 comments
Closed

How to use with uikit? #135

iganza opened this issue May 7, 2023 · 2 comments

Comments

@iganza
Copy link

iganza commented May 7, 2023

Hi,

I am trying to use UIKit and some of the elements have a "-" in the attribute name.

For example to setup the grid I need to say:

When I use the form: (d/div {:class "ukgrid-large uk-child-width-expand@s uk-text-center" :uk-grid ""})

The uk-grid div is being created as the following but missing the "-".

div class="ukgrid-large uk-child-width-expand@s uk-text-center" ukgrid="">

How to resolve this? Thanks.

@lilactown
Copy link
Owner

This sounds similar to #130

With the latest main branch code, if you wrap uk-grid in quotes instead of passing as a keyword

(d/div {:class "ukgrid-large uk-child-width-expand@s uk-text-center" "uk-grid" ""})

it should fix it

@iganza
Copy link
Author

iganza commented May 11, 2023

Thank you for your quick reply. Works, all good now!

@iganza iganza closed this as completed May 11, 2023
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

No branches or pull requests

2 participants