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 js_attr(x) for setting julia expressions as js attributes, fix JSONText in Plots #230

Merged
merged 4 commits into from
Oct 21, 2023

Conversation

hhaensel
Copy link
Member

Typical use case

using StippleUI

 quasar(
    :btn__toggle,
    fieldname = :btn_value,
    options = js_attr([opts(label = "Off", value = false), opts(label = "On", value = true)])
 )

# "<q-btn-toggle v-model=\"btn_value\" :options=\"[{'value':false,'label':'Off'}, {'value':true,'label':'On'}]\"></q-btn-toggle>"

Furthermore, a final fix for JSONText was necessary...

@hhaensel hhaensel merged commit 6b4b8c2 into master Oct 21, 2023
18 of 20 checks passed
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