std1.0.0-beta-7 SafeC docs

std :: wasm::hydrate

Function std::hydrate_bind_text_int

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

int hydrate_bind_text_int(&Signal<int> signal, const &char selector)

Convenience: dom_get_element(selector) + hydrate_bind_text_int_handle(). Returns the resolved element handle (-1 if 'selector' matched nothing, in which case no binding was registered).