std1.0.0-beta-7 SafeC docs

std :: wasm::dom

Function std::dom_set_style

#include <std/wasm/dom.h> source ยท definition

void dom_set_style(int handle, const &char prop, const &char value)

style.setProperty(prop, value) ("" removes it); CSS property names ("background-color"), not camelCase.