DaffMenuService
import { DaffMenuService } from '@daffodil/design/menu'
@Injectable()
class DaffMenuService {
protected _overlay: OverlayRef | null
open$: Observable<boolean>
protected overlay: Overlay
protected _createOverlay(
activatorElement: ViewContainerRef
component: DaffMenuSlot
)
protected _destroyOverlay()
close()
open(
activator: ViewContainerRef
component: DaffMenuSlot
)
}
Properties
Name | Type | Description |
---|---|---|
_overlay | OverlayRef | null | |
open$ | Observable<boolean> | |
overlay | Overlay | |
_createOverlay | ||
_destroyOverlay | ||
close | ||
open |