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
DynamicHTML is provided by the TokamakDOM module and has a listeners property with a corresponding initializer parameter. You can pass closures that can handle onclick, onmouseover and other DOM events for you (check out MDN docs for the full list). HTML doesn't support event listeners, and is declared in the TokamakStaticHTML module, which TokamakDOM re-exports. The benefit of HTML is that you can use it for static rendering in libraries like TokamakVapor and TokamakPublish. Does that answer your question?
I'm sorry if this is not the best place to ask questions, but I couldn't find any official documentation except the README file.
What are the differences between
HTML
andDynamicHTML
, and how do I know when I need to use one over the other?The text was updated successfully, but these errors were encountered: