Skip to content

Checkbox

Render the shared native checkbox while keeping the caller’s renderer and event semantics. This works with both RevoGrid/Stencil templates and Preact.

export function renderCheckbox(h: PreactH, attributes?: SharedCheckboxAttributes): PreactVNode;;

SHARED_CHECKBOX_CLASS: string;

SharedCheckboxAttributes (Extended from index.ts)

Section titled “SharedCheckboxAttributes (Extended from index.ts)”
export type SharedCheckboxAttributes = Record<string, unknown> & {
class?: string;
className?: string;
};