std1.0.0-beta-7 SafeC docs

std :: wasm::dom

Function std::dom_location

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

struct String dom_location(int field)

A location field (DOM_LOC_*): href, pathname, search ("?a=1"), hash ("#x"), host, origin.