Skip to main content
Deno 2 is finally here πŸŽ‰οΈ
Learn more
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@v1.0.2/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> & { nostyle?: boolean; }