sys/wasm/js: add set_element_style

This commit is contained in:
Laytan Laats
2024-10-26 22:41:14 +02:00
parent 4608d26e6e
commit bd38b4839c
2 changed files with 12 additions and 0 deletions
+2
View File
@@ -20,6 +20,8 @@ foreign dom_lib {
device_pixel_ratio :: proc() -> f64 ---
window_set_scroll :: proc(x, y: f64) ---
set_element_style :: proc(id: string, key: string, value: string) ---
}
get_element_value_string :: proc "contextless" (id: string, buf: []byte) -> string {