-
Notifications
You must be signed in to change notification settings - Fork 92
Hi @rpaschoal want to add video button on top of ng-chat Window like ng-chat-options #111
Comments
Hi @Code-N-K , I believe it would be sufficient if you could provide your extra chat options as an Input right? |
Can you(@rpaschoal ) suggest me the functional code as i was unable to find proper tags in your ng-chat module. |
Hi @Code-N-K , I believ that is not yet available as public API to the component. Check this link: https://github.com/rpaschoal/ng-chat/blob/master/src/ng-chat/core/chat-option.ts Do you believe that exposing something similar would help you achieving what you're trying to implement? This is what's being used to render the top right options menu. |
Hi @rpaschoal, it is just an interface. But I need the actual code to add a new button on user message chat window. My main query is I need to add some more buttons on user chat window, so that we can add our more functionality to the user message chat window. As you have added the (add people) functionality in your live demo, I am unable to add something like that.. So I actually need to add a(video call) icon near to X(close) button on user message chat window. |
This is exactly what I am talking about @Code-N-K , For the time being that chat options feature is not publicly exposed, it is just used as an internal component in ng-chat. I believe what you want is to be able to pass your own custom options with their own custom actions. This is not implemented yet but it could be. Would you feel comfortable pushing these changes to this repository and if they look good I'll merge them and publish a new release? Cheers! |
I am unable to extent the ChatOptions as dont have any example for the same. I can only fork if some working example is available. i have forked the fesm5 : ng-chat.js file and added the <a href="javascript:void(0);" class="ng-chat-close primary-text" (click)="onVideoChatWindow(window)">Video\r\n <a href="javascript:void(0);" class="ng-chat-close primary-text" (click)="onCloseChatWindow(window)">X10\r\n onVideoChatWindow(window) - But the custom method is not working, as it is not part of ng-chat.html I urgently need this options, Kindly update. @rpaschoal HELP. |
Any update on adding video call icon? |
@rpaschoal Any update on adding video call icon? |
I need to add a video button on top of ng-chat Window like Close button. This video button could be click able. Please provide details for the same.
... ng-chat-options to add people i want to add video button and want to call my own functions of javascript and webrtc
@rpaschoal - Enhancement required.
The text was updated successfully, but these errors were encountered: