Getting Started
Writing content
API Documentation
Customization
Recipes
API References Develop
@ng-doc/ui-kit / Class

NgDocDropdownComponent

Decorators:@Component @UntilDestroy
Selectors:ng-doc-dropdown
Implements:OnChangesOnDestroy

No documentation has been provided.

Constructor

No documentation has been provided.

Presentation
constructor(
	protected changeDetectorRef: ChangeDetectorRef, 
	protected overlayService: NgDocOverlayService, 
	protected viewContainerRef: ViewContainerRef, 
	protected ngZone: NgZone, 
	@Inject() @Optional() protected overlayHost?: NgDocOverlayHost | undefined
): NgDocDropdownComponent;
Parameters
NameTypeDescription
p
changeDetectorRef
ChangeDetectorRef
p
overlayService
NgDocOverlayService
p
viewContainerRef
ViewContainerRef
p
ngZone
NgZone
p
overlayHost
NgDocOverlayHost | undefined

Properties

NameTypeDescription
afterClose
EventEmitter<void>
afterOpen
EventEmitter<void>
beforeClose
EventEmitter<void>
beforeOpen
EventEmitter<void>
borderOffset
number
closeIfInnerClick
boolean
closeIfOutsideClick
boolean
contactBorder
boolean
content
NgDocContent
hasBackdrop
boolean
height
string | number
maxHeight
string | number
maxWidth
string | number
minHeight
string | number
minWidth
string | number
origin
CdkOverlayOrigin | Point | null
overlay
NgDocOverlayRef<unknown> | null
overlayProperties
NgDocOverlayProperties
panelClass
string | string[]
positions
NgDocOverlayPosition | NgDocOverlayPosition[]
width
string | number
withArrow
boolean

Accessors

get isFocused

No documentation has been provided.

Presentation
get isFocused(): boolean;
Type

boolean

get isOpened

No documentation has been provided.

Presentation
get isOpened(): boolean;
Type

boolean

get tabIndex

No documentation has been provided.

Presentation
get tabIndex(): number;
Type

number

Methods

close()

No documentation has been provided.

Presentation
close(): void;
Returns
void

focus()

No documentation has been provided.

Presentation
focus(): void;
Returns
void

ngOnChanges()

implements OnChanges

No documentation has been provided.

Presentation
ngOnChanges({ origin }: SimpleChanges): void;
Parameters
NameTypeDescription
{ origin }
SimpleChanges
Returns
void

ngOnDestroy()

implements OnDestroy

No documentation has been provided.

Presentation
ngOnDestroy(): void;
Returns
void

open()

No documentation has been provided.

Presentation
open(): void;
Returns
void

toggle()

No documentation has been provided.

Presentation
toggle(): void;
Returns
void

updateOverlayPosition()

No documentation has been provided.

Presentation
updateOverlayPosition(): void;
Returns
void