including full DOM access? #621
Answered
by
lukehaas
jinxiaoman
asked this question in
Q&A
-
including full DOM access?What does this mean? Can I write HTML? Get DOM node? alert? I didn't find an example, can you provide one? |
Beta Was this translation helpful? Give feedback.
Answered by
lukehaas
May 10, 2024
Replies: 1 comment
-
It means you have access to the DOM similar to a browser environment. You can get a DOM node via the DOM API methods such as You could write HTML by doing something like this:
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
jinxiaoman
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It means you have access to the DOM similar to a browser environment.
You can get a DOM node via the DOM API methods such as
getElementById()
, you can also create elements viacreateElement()
.You could write HTML by doing something like this: