src/app/component/chat-widget/chat-widget.service.ts
Properties |
|
Methods |
|
Accessors |
constructor(overlay: Overlay, injector: Injector, _parentChatWidget: ChatWidgetService)
|
||||||||||||
Parameters :
|
Private _attach | |||||||||
_attach(content: ComponentType
|
|||||||||
Type parameters :
|
|||||||||
Parameters :
Returns :
ChatWidgetRef<T | EmbeddedViewRef>
|
Private _attachContainer | |||||||||
_attachContainer(overlayRef: OverlayRef, config: ChatWidgetConfig)
|
|||||||||
Parameters :
Returns :
any
|
Private _createInjector | |||||||||
_createInjector(config: ChatWidgetConfig, notificationRef)
|
|||||||||
Type parameters :
|
|||||||||
Parameters :
Returns :
PortalInjector
|
Private _createOverlay | ||||||
_createOverlay(config: ChatWidgetConfig)
|
||||||
Parameters :
Returns :
OverlayRef
|
dismiss |
dismiss()
|
Returns :
void
|
open | ||||||
open(config?: ChatWidgetConfig)
|
||||||
Parameters :
Returns :
void
|
Private _chatWidgetRefAtThisLevel |
Type : ChatWidgetRef<any> | null
|
Default value : null
|
_openedChatWidgetRef | ||||
get_openedChatWidgetRef()
|
||||
set_openedChatWidgetRef(value)
|
||||
Parameters :
Returns :
void
|