Function create_custom_element_with_config

Source
pub fn create_custom_element_with_config<C: CustomElement + 'static, F: FnMut(JsValue, Array) -> C + 'static>(
    create_cutom_element: F,
    attributes: Vec<String>,
    config: CustomElementConfiguration<'_>,
) -> (Closure<dyn FnMut(JsValue, Array) -> JsValue>, GeneratedConstructor)
Expand description

Create a custom element with a custom configuration