IToolbarProps

interface
Component Props

Full props contract for <OrigamToolbar>. Horizontal action bar with collapse, flat, floating, and sticky modes, plus the full color/border/elevation/spacing surface.

TypeScript

Définition

La définition TypeScript de l'interface telle que trouvée dans le code source d'origam. Cliquez sur l'icône de copie pour copier l'extrait.

typescript

Héritage

Hérite de

Interfaces parentes dont celle-ci hérite. Leurs propriétés sont disponibles pour tout consommateur de cette interface.

API

Propriétés

Chaque propriété déclarée par cette interface, avec son type, son caractère optionnel et sa valeur par défaut.

collapse
boolean
Collapse the toolbar to its minimum width (icon-only mode). Useful for side navigation headers.
flat
boolean
Remove the elevation shadow to visually merge the toolbar into the page background.
floating
boolean
Detach the toolbar from the viewport edge so it floats above content.
title
string
Text rendered as the toolbar heading/label. Shorthand for the #title slot.
modelValue
boolean
Controls the visible / expanded state of the toolbar via v-model.

Écosystème

Utilisé par

Composants et composables qui étendent ou consomment cette interface.

Usage

Exemples

Extraits de code prêts à coller utilisant cette interface.

Elevated floating toolbar

vue