Enum workflow_terminal::terminal::TargetElement
source · pub enum TargetElement {
Body,
Element(Element),
TagName(String),
Id(String),
}
Expand description
Indicates the target element to which the Terminal instance should be bound to in DOM (WASM-browser only)
Variants§
Body
Bind to the document body
Element(Element)
Bind to a specific supplied web_sys::Element
TagName(String)
Bind to the element with a specific tag name
Id(String)
Bind to the element with a specific id