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
Because Marko Widgets doesn't maintain a separate virtual DOM it will reset manual changes to element attributes on rerender() . It should be possible to specify attributes for Marko to ignore. This is mostly the case with class and style attributes where external animation / tweening engines such as Velocity.js or GSAP are often used whereas we still wish to rely on setState() while still maintaining element styles as set manually outside Marko.
The text was updated successfully, but these errors were encountered:
w-preserve-attrs="style,class"
Because Marko Widgets doesn't maintain a separate virtual DOM it will reset manual changes to element attributes on
rerender()
. It should be possible to specify attributes for Marko to ignore. This is mostly the case withclass
andstyle
attributes where external animation / tweening engines such as Velocity.js or GSAP are often used whereas we still wish to rely onsetState()
while still maintaining element styles as set manually outside Marko.The text was updated successfully, but these errors were encountered: