// assign `my_input.value = "hello"` and `my_input.disabled = true`
const my_input = <input value="default value" {...{
[MEMBERS]: {
value: "hello",
disabled: true,
} as MemberProps<HTMLInputElement>
}} />
Generated using TypeDoc
the props used for explicitly declaring member assignments to make on the generated output of any HyperRender.h |
Element Renderer.note that many intrinsic properties of certain HTMLElements, such as
valueandchecked, are also reflected as their "attributes", but they are merely there for the purpose of initialization, and not actual mutation (although it does work in many cases).still, it is best to modify the property of an element if it is an intrinsic feature of that element, rather than modifying its attributes, since the property holds the "real"/"true" value, and usually in a primitive javascript object format, rather than being exclusively a
stringornull.