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
{{ message }}
Repository navigation
Add shorthand way of getting inline style or getComputedStyle property #134
Note to self: getComputedStyle returns a live CSSStyleDeclaration object, which could be remembered during an event flow to avoid doing it more than once for an element. Would just need to clean it up at the end of each event flow for the sake of SPA memory if that method is employed.
changed the title [-]Add way of getting style property[/-][+]Add shorthand way of getting defined style or getComputedStyle property[/+]on Mar 10, 2024
changed the title [-]Add shorthand way of getting defined style or getComputedStyle property[/-][+]Add shorthand way of getting inline style or getComputedStyle property[/+]on Apr 14, 2024
Activity
bob2517 commentedon Oct 3, 2022
Probably worth doing a getComputedStyle variant for this too.
Maybe {::color} for that, which would follow the attribute @, property @@ convention. Basically doubling up the colon for the calculated value.
bob2517 commentedon Mar 10, 2024
Note to self: getComputedStyle returns a live CSSStyleDeclaration object, which could be remembered during an event flow to avoid doing it more than once for an element. Would just need to clean it up at the end of each event flow for the sake of SPA memory if that method is employed.
[-]Add way of getting style property[/-][+]Add shorthand way of getting defined style or getComputedStyle property[/+][-]Add shorthand way of getting defined style or getComputedStyle property[/-][+]Add shorthand way of getting inline style or getComputedStyle property[/+]bob2517 commentedon Apr 14, 2024
Closing pending release.