Component · v2.7.0
NgbSplitterPaneComponent
Pane content and sizing configuration projected inside ngb-splitter.
Import
import { NgbSplitterPaneComponent } from '@angular-bootstrap/ngbootstrap';Selector:ngb-splitter-pane
Declaration
class NgbSplitterPaneComponentInputs
paneId
Optional stable ID for this pane's rendered content container.
paneId: stringDefault:''
ariaLabel
Names this pane and its following resize separator.
ariaLabel: stringDefault:''
size
Initial CSS pane size, such as 30% or 200px. Empty shares remaining space; resizing updates the pane size.
size: stringDefault:''
min
Minimum pane size used by resizing, in px or %.
min: stringDefault:'0px'
max
Maximum pane size used by resizing, in px or %.
max: stringDefault:'100%'
scrollable
Allows scrolling inside the pane.
scrollable: booleanDefault:true
collapsible
Shows a collapse/expand control for this pane.
collapsible: booleanDefault:false
collapsed
Whether the pane is collapsed. Supports [(collapsed)] with collapsedChange.
collapsed: booleanDefault:false
Outputs
collapsedChange
Emits the new boolean state when Splitter toggles this pane.
collapsedChange: EventEmitter<boolean>Properties
template
Template containing the pane’s projected content; consumed by the parent Splitter.
template: TemplateRef<any>