BetaBeta pública — Consulta las notas de lanzamiento
Documentación

Mega Menu

Expanded navigation dropdown with rich multi-column content.

Paquete
@solidiom/mega-menu
Versión
0.6.0
Estado
experimental

Generado a partir del código fuente público del paquete.

API

Contentcomponente

                        Content(props: MegaMenuContentProps): Element
                      

Propiedades

class?
string
ref?
(el: HTMLDivElement) => void
style?
string | CSSProperties

hijos: Element

Ver código fuente

Groupcomponente

                        Group(props: MegaMenuGroupProps): Element
                      

Propiedades

class?
string
style?
string | CSSProperties

hijos: Element

Ver código fuente

GroupLabelcomponente

                        GroupLabel(props: MegaMenuGroupLabelProps): Element
                      

Propiedades

class?
string
style?
string | CSSProperties

hijos: Element

Ver código fuente

Itemcomponente

                        Item(props: MegaMenuItemProps): Element
                      

Propiedades

disabled?
boolean — Disable this item.
value
string — Unique identifier for this item.

hijos: Element

Ver código fuente

                        Link(props: MegaMenuLinkProps): Element
                      

Propiedades

active?
boolean
class?
string
href
string
style?
string | CSSProperties

hijos: Element

Ver código fuente

Listcomponente

                        List(props: MegaMenuListProps): Element
                      

Propiedades

class?
string
style?
string | CSSProperties

hijos: Element

Ver código fuente

MegaMenuContentPropsinterfaz

Propiedades

class?
string
ref?
(el: HTMLDivElement) => void
style?
string | CSSProperties

hijos: Element

Ver código fuente

MegaMenuGroupLabelPropsinterfaz

Propiedades

class?
string
style?
string | CSSProperties

hijos: Element

Ver código fuente

MegaMenuGroupPropsinterfaz

Propiedades

class?
string
style?
string | CSSProperties

hijos: Element

Ver código fuente

MegaMenuItemPropsinterfaz

Propiedades

disabled?
boolean — Disable this item.
value
string — Unique identifier for this item.

hijos: Element

Ver código fuente

MegaMenuLinkPropsinterfaz

Propiedades

active?
boolean
class?
string
href
string
style?
string | CSSProperties

hijos: Element

Ver código fuente

MegaMenuListPropsinterfaz

Propiedades

class?
string
style?
string | CSSProperties

hijos: Element

Ver código fuente

MegaMenuRootPropsinterfaz

Propiedades

defaultValue?
string — Default active item value (uncontrolled).
delayDuration?
number — Hover delay in ms before opening. Default: 200.
disabled?
boolean — Disable all menu interactions.
onValueChange?
(value: string) => void — Called when the active item changes.
value?
string — Controlled active item value.

hijos: Element

Ver código fuente

MegaMenuTriggerPropsinterfaz

Propiedades

class?
string
ref?
(el: HTMLButtonElement) => void
style?
string | CSSProperties

hijos: Element

Ver código fuente

Rootcomponente

                        Root(props: MegaMenuRootProps): Element
                      

Propiedades

defaultValue?
string — Default active item value (uncontrolled).
delayDuration?
number — Hover delay in ms before opening. Default: 200.
disabled?
boolean — Disable all menu interactions.
onValueChange?
(value: string) => void — Called when the active item changes.
value?
string — Controlled active item value.

hijos: Element

Ver código fuente

Triggercomponente

                        Trigger(props: MegaMenuTriggerProps): Element
                      

Propiedades

class?
string
ref?
(el: HTMLButtonElement) => void
style?
string | CSSProperties

hijos: Element

Ver código fuente