Form CSS style + dev panel (WIP)
This commit is contained in:
parent
9daa852add
commit
f2e0aa3b43
18 changed files with 154 additions and 34 deletions
|
|
@ -446,6 +446,7 @@ where
|
|||
continue;
|
||||
}
|
||||
let tag_span = document().create_element("span").unwrap();
|
||||
tag_span.set_class_name("tag");
|
||||
tag_span.set_inner_html(&tag);
|
||||
let delete_tag_button: HtmlInputElement = document()
|
||||
.create_element("input")
|
||||
|
|
@ -453,7 +454,7 @@ where
|
|||
.dyn_into()
|
||||
.unwrap();
|
||||
delete_tag_button.set_attribute("type", "button").unwrap();
|
||||
delete_tag_button.set_attribute("value", "X").unwrap();
|
||||
delete_tag_button.set_attribute("value", "✖").unwrap();
|
||||
tag_span.append_child(&delete_tag_button).unwrap();
|
||||
tags_span.append_child(&tag_span).unwrap();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue