plotly / Dash.jl

Dash for Julia - A Julia interface to the Dash ecosystem for creating analytic web applications in Julia. No JavaScript required.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

wildcard attributes

jfb-h opened this issue · comments

commented

How do you access the data-* wildcard attributes in julia?

How do you access the data-* wildcard attributes in julia?

Using the string literal var:

julia> var"data-s" = 2
2
julia> var"data-s"
2
julia> f(; var"data-f") = var"data-f" * 5
f (generic function with 1 method)

julia> f(var"data-f" = 10)
50
commented

Thanks! Should we leave this open for now for documentation purposes? I couldn't find anything on this in the docs but maybe I'm just blind.