import { DaffMenuService } from '@daffodil/design/menu'
@Injectable()
class DaffMenuService {
protected _overlay: OverlayRef
open$: Observable<boolean> = this.$_open.asObservable()
protected overlay: Overlay
protected _createOverlay(
activatorElement: ViewContainerRef
component: DaffMenuSlot
): Promise<void>
protected _destroyOverlay(): void
close(): void
open(
activator: ViewContainerRef
component: DaffMenuSlot
): void
}
Promise<void>
Parameter | activatorElement: ViewContainerRef |
---|---|
Description |
Parameter | component: DaffMenuSlot |
---|---|
Description |
void
void
void
Parameter | activator: ViewContainerRef |
---|---|
Description |
Parameter | component: DaffMenuSlot |
---|---|
Description |