Askr
Generated API snapshot

@askrjs/askr/foundations/utilities

Exports from the declarations published in @askrjs/askr 0.0.59. Signatures are generated from the installed artifact.

  • @askrjs/askr/foundations/utilities0.0.59

Exports

This entrypoint publishes 16 exports. Use the anchored symbol rows for direct links. Type-only exports are labeled separately from runtime values.

ariaDisabledtype

ariaDisabled: (disabled?: boolean) => { "aria-disabled"?: "true"; }

ariaExpandedtype

ariaExpanded: (expanded?: boolean) => { "aria-expanded"?: "true" | "false"; }

ariaSelectedtype

ariaSelected: (selected?: boolean) => { "aria-selected"?: "true" | "false"; }

composeHandlerstype

composeHandlers: <A extends readonly unknown[]>(first?: (...args: A) => void, second?: (...args: A) => void, options?: ComposeHandlersOptions) => (...args: A) => void

composeRefstype

composeRefs: <T>(...refs: Array<Ref<T>>) => (value: T | null) => void

formatIdtype

formatId: (options: FormatIdOptions) => string

mergePropstype

mergeProps: <TBase extends object, TInjected extends object>(base: TBase, injected: TInjected) => TInjected & TBase

Reftype

Ref: any

setReftype

setRef: <T>(ref: Ref<T>, value: T | null) => void