[][src]Function augdom::create_virtual_element

pub fn create_virtual_element(ty: &str) -> Node

Create a new virtual element as part of a throwaway document. Useful for testing.