pub fn create_element<F, Msg>(
    f: F,
    tag: &str,
    id_name: Option<&str>,
    class_names: Vec<&str>,
    attrs: Vec<(String, String)>,
    events: Vec<(String, Msg)>,
    binding: Option<String>
) -> Elementwhere
    F: Fn(Option<Msg>) + Clone + 'static,
    Msg: Clone + 'static,