Interface: ToolbarContent

ToolbarApi.ToolbarContent

Description

Representation of the toolbar elements and layout that supports displaying a Relativity Web Components Action Bar or a custom component

Properties

Properties

center

Optionalcenter: HTMLElement[]

HTML elements to place in the center slot


cssClass

OptionalcssClass: string

Class name for the container to add CSS rules and styling


dominantSlot

OptionaldominantSlot: ToolbarContentSlotName

Description

Define which slot will be given the most space. All non-dominant slots will only take up the space required for their children; the dominant slot will consume the remainder of the space. Valid values are none, "left", "center", and "right". Defaults to none.


left

Optionalleft: HTMLElement[]

HTML elements to place in the left slot


Optionalright: HTMLElement[]

HTML elements to place in the right slot


useRawElements

OptionaluseRawElements: boolean

Specifies whether the elements should be placed directly in the DOM not using a component to align and flex elements