Skip to main content
Module

x/lunchbox/src/types.ts>iFwd

Component Library 🍱 for Deno πŸ¦• Fresh πŸ‹
Latest
type alias iFwd
import { type iFwd } from "https://deno.land/x/lunchbox@v0.3.15/src/types.ts";

This type is a shorthand that helps in forwarding props and references to a component's part. This type points to every secondary HTMLElement in a component.

ref? (Ref): Stores a reference that points to this HTMLElement.

nostyle? (boolean): If true, removes the default class name of this HTMLElement.

Type Parameters

optional
T extends EventTarget = HTMLElement
definition: iElement<T> & { ref?: Ref<T>; nostyle?: boolean; }