InnerHtmlAttribute class
Injects raw HTML into an element via HTMLElement.setHTMLUnsafe.
Used by ElementBuilder.innerHTML to render pre-parsed HTML content —
for example, Markdown converted to HTML by pulsar_content.
Safety
setHTMLUnsafe bypasses Pulsar's normal child normalization. Only use
this with trusted HTML sources — content parsed from Markdown files,
never with raw user input.
When InnerHtmlAttribute is present on an element, its children list is ignored. The raw HTML becomes the entire content of the element.
Constructors
- InnerHtmlAttribute(String html)
-
const
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited