App Switcher
import { KbqAppSwitcherModule } from '@koobiq/components/app-switcher';

Selector: [kbqAppSwitcher]

Exported as: kbqAppSwitcher
Properties
Name Description
@Input()
backdropClass: string
Class that will be used in the background
@Input()
disabled: boolean
Whether the trigger is disabled.
@Input()
groupBy: (app: KbqAppSwitcherApp, groups: Record, untyped: KbqAppSwitcherApp[]) => void
Function to group the apps by type. The first argument is an app object with type. The second is a groups object and third is an array for untyped apps
@Input()
offset: number
Offset of popUp
@Input('kbqAppSwitcherPlacement')
placement: "top" | "topLeft" | "topRight" | "right" | "rightTop" | "rightBottom" | "left" | "leftTop" | "leftBottom" | "bottom" | "bottomLeft" | "bottomRight"
Placement of popUp
@Input()
selectedApp: KbqAppSwitcherApp
Selected application
@Input()
selectedSite: KbqAppSwitcherSite
Selected site
@Input()
sites: KbqAppSwitcherSite[]
Array of sites
@Output('kbqPlacementChange')
placementChange: EventEmitter
Emits a change event whenever the placement state changes.
@Output('kbqVisibleChange')
visibleChange: EventEmitter
Emits a change event whenever the visible state changes.
isOpen: boolean Whether the pop-up overlay is currently open.
withSearch: boolean Whether search is used or not
Properties
Name Description
aliases: KbqAppSwitcherApp[]
caption: string
icon: string Inline SVG markup for the application icon. Use this for SVG icons that should be rendered directly in the DOM.
iconSrc: string Path to the icon file (URL or relative path).
id: string | number
link: string
name: string
type: string | number
Properties
Name Description
apps: KbqAppSwitcherApp[]
icon: string Inline SVG markup for the site icon. Use this for SVG icons that should be rendered directly in the DOM.
iconSrc: string Path to the icon file (URL or relative path).
id: string | number
name: string
status: string
const KBQ_MIN_NUMBER_OF_APPS_TO_ENABLE_SEARCH: number;
const KBQ_MIN_NUMBER_OF_APPS_TO_ENABLE_GROUPING: number;
Предложения по улучшению
Если вы нашли ошибку или хотите доработать статью, создайте запрос на GitHub.