Enum percy_dom::PatchSpecialAttribute [−][src]
pub enum PatchSpecialAttribute<'a> { CallOnCreateElem(usize, &'a VirtualNode), SetDangerousInnerHtml(usize, &'a VirtualNode), RemoveDangerousInnerHtml(usize), }
Expand description
Patches that apply to [SpecialAttributes
].
Variants
Call the [SpecialAttributes.on_create_elem
] function on the node.
Tuple Fields of CallOnCreateElem
0: usize
1: &'a VirtualNode
Set the node’s innerHTML using the [SpecialAttributes.dangerous_inner_html
].
Tuple Fields of SetDangerousInnerHtml
0: usize
1: &'a VirtualNode
Set the node’s innerHTML to an empty string.
Tuple Fields of RemoveDangerousInnerHtml
0: usize
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.