Description of the term before it.
@Component({ selector: 'kbq-dd' }) class KbqDd {}
Description list: kbq-dt terms paired with kbq-dd descriptions in an adaptive, horizontal or vertical layout.
@Component({ selector: 'kbq-dl' }) class KbqDl { readonly verticalBreakpoint = input<number>( this.options.verticalBreakpoint ); readonly wide = input<boolean>(this.options.wide); readonly resizable = input<boolean>(this.options.resizable); readonly dtWidth = model<number | null>(this.options.dtWidth); readonly dtMinWidth = input<number | undefined>( this.options.dtMinWidth ); readonly ddMinWidth = input<number | undefined>( this.options.ddMinWidth ); readonly resizerAriaLabel = input<string | undefined>(); readonly verticalAlign = input<KbqDlAlign>( this.options.verticalAlign ); readonly horizontalAlign = input<KbqDlAlign>( this.options.horizontalAlign ); readonly vertical = input<boolean | null>(this.options.vertical); }
verticalBreakpointnumber Host width in pixels at or below which the list auto-switches to the vertical layout.
Defaults to the app-wide KBQ_DL_OPTIONS.
wideboolean Whether the list uses the wide two-column layout. Defaults to the app-wide KBQ_DL_OPTIONS.
resizableboolean Whether the kbq-dt area can be resized by dragging the separator.
Defaults to the app-wide KBQ_DL_OPTIONS.
dtWidthnumber | null Width of the kbq-dt area in pixels; null restores the default column ratio.
Defaults to the app-wide KBQ_DL_OPTIONS.
Writable: a drag or a double-click on the separator sets it, and dtWidthChange reports that back.
model() would have been the shorter form, but it takes no transform, so an uncoerced attribute
reached the layout arithmetic as a string and skipped the clamp against dtMinWidth.
dtMinWidthnumber | undefined Minimum width of the kbq-dt area in pixels; defaults to the app-wide KBQ_DL_OPTIONS, then to the
rendered term width.
ddMinWidthnumber | undefined Minimum width retained for the kbq-dd area in pixels; defaults to the app-wide KBQ_DL_OPTIONS, then
to the rendered term width.
resizerAriaLabelstring | undefined Accessible name of the column resize separator; falls back to the localized default when omitted.
verticalAlignKbqDlAlign Vertical alignment of kbq-dt and kbq-dd items. Defaults to the app-wide KBQ_DL_OPTIONS.
horizontalAlignKbqDlAlign Horizontal alignment of kbq-dt and kbq-dd items. Defaults to the app-wide KBQ_DL_OPTIONS.
verticalboolean | null Forces the vertical layout; null lets the list decide based on verticalBreakpoint.
Defaults to the app-wide KBQ_DL_OPTIONS.
localeOverridesKbqPartialLocaleData | undefined Localized strings for this element and its subtree, keyed by locale section. Every key is optional at every depth.
Term of a description list.
@Component({ selector: 'kbq-dt' }) class KbqDt {}
Overrides the default description list options within the given injector scope. The options it leaves out keep the values of the parent injector.
function kbqDlOptionsProvider(options: Partial<KbqDlOptions>): Provider;Supported alignment values for description list items.
type KbqDlAlign = 'start' | 'center' | 'end';Configuration for KbqDl. Each input of a list overrides its option.
type KbqDlOptions = { verticalBreakpoint: number; vertical: boolean | null; wide: boolean; resizable: boolean; dtWidth: number | null; dtMinWidth?: number; ddMinWidth?: number; verticalAlign: KbqDlAlign; horizontalAlign: KbqDlAlign; };
verticalBreakpointnumber Host width in pixels at or below which a list switches to the vertical layout.
verticalboolean | null Forces the vertical layout; null lets a list decide based on verticalBreakpoint.
wideboolean Whether a list uses the wide two-column layout.
resizableboolean Whether the kbq-dt area can be resized by dragging the separator.
dtWidthnumber | null Width of the kbq-dt area in pixels; null keeps the default column ratio.
dtMinWidthnumber Minimum width of the kbq-dt area in pixels; defaults to the rendered term width.
ddMinWidthnumber Minimum width retained for the kbq-dd area in pixels; defaults to the rendered term width.
verticalAlignKbqDlAlign Vertical alignment of kbq-dt and kbq-dd items.
horizontalAlignKbqDlAlign Horizontal alignment of kbq-dt and kbq-dd items.
Injection token holding the current KbqDlOptions.
const KBQ_DL_OPTIONS: InjectionToken<KbqDlOptions>;