You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Wondering if there is any way to consistently retrieve a specific (e.g. right) axis DOM element, irrespective of how many axes there are.
One option is to use querySelectorAll with .u-axis but that's subject to changes based on the number of added axes. Perhaps the divs could have a data-tag to mark their position? Alternatively, the divs for all four axes could be mounted even if not toggled (using .u-off).
Use case: add custom element (unit label) to the axis.
The text was updated successfully, but these errors were encountered:
Qanpi
changed the title
Consistent u.axis layout
Consistent .u-axis layout
Jul 9, 2024
Hey!
Wondering if there is any way to consistently retrieve a specific (e.g. right) axis DOM element, irrespective of how many axes there are.
One option is to use
querySelectorAll
with.u-axis
but that's subject to changes based on the number of added axes. Perhaps thediv
s could have a data-tag to mark their position? Alternatively, thediv
s for all four axes could be mounted even if not toggled (using.u-off
).Use case: add custom element (unit label) to the axis.
The text was updated successfully, but these errors were encountered: