Skip to content

Commit c606e14

Browse files
committed
chore: add not implemented marker
1 parent 5e83a13 commit c606e14

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

crates/sdo-web/src/staged.rs

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
use wasm_bindgen::JsValue;
1+
use wasm_bindgen::{JsCast, JsValue};
2+
use web_sys::HtmlAnchorElement;
23

34
use crate::Handle;
45

@@ -9,6 +10,14 @@ impl Handle {
910
self.output.append_child(&heading)?;
1011
let p = self.document.create_element("p")?;
1112
p.append_with_str_1("Signum! 3/4 Document")?;
13+
let br = self.document.create_element("br")?;
14+
p.append_child(&br)?;
15+
let a = self.document.create_element("a")?;
16+
a.set_text_content(Some("Not yet implemented"));
17+
let a = a.dyn_ref::<HtmlAnchorElement>().unwrap();
18+
a.set_href("https://github.com/Xiphoseer/sdo-tool/issues/19");
19+
a.set_target("_blank");
20+
p.append_child(a)?;
1221
self.output.append_child(&p)?;
1322
Ok(())
1423
}

0 commit comments

Comments
 (0)