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