Comments (8)
im currently trying to implement this myself by copying the repo directly into my project and playing with Launcher
from react-chat-window.
I agree this would be nice. I'll throw it on the backlog, and if you work something out, feel free to submit a PR. I'd prefer a prop isOpen
or something. Is there a reason you want to hook directly into the handleClick
?
from react-chat-window.
Yeah, I made a ghetto list of buttons to open up a specific chat from my current chats with different users. When I click that button I want the chat window for that user to toggle open. I finished it and will submit a pull request tomorrow after I clean up. I didn't use the handle click, just made a function that takes a boolean prop (into launcher) and sets the active state to true. It's really simple, but allows more flexibility in using your NPM module since I could only do it by actually going into launcher
from react-chat-window.
Hi, has this functionality been added? I'm using this component but have been unable to toggle the window open/closed programmatically. I see that @mmmikeal has submitted a pull request that was never emerged in, and a comment from @dharness in that request saying it was resolved in pull #34...
Thanks for your work on this!
from react-chat-window.
@jacksonwildemurphy It was resolved in #34
but it never got republished to npm. Let me get to that shortly.
from react-chat-window.
from react-chat-window.
@dharness , @mmmikeal thank you both. I really appreciate it
from react-chat-window.
This is complete and you can use it on https://github.com/dharness/react-chat-window/tree/rc-1.1.0
with the isOpen
flag. It will also be part of the upcoming release.
from react-chat-window.
Related Issues (20)
- Provide buttons for user to select? HOT 1
- Can we use this real time? HOT 5
- Error on nextJS before installation HOT 5
- How to hide Attachment Icon? HOT 10
- How to add a new screen prior to Chat? HOT 1
- componentWillReceiveProps HOT 1
- Chat room feature HOT 3
- How can i import into a plain html file? HOT 2
- Add alt attribute to img tags HOT 1
- send button not rendering HOT 1
- Can't load notification.mp3 file HOT 4
- How to add onClick event on agentProfile?
- Assets issue
- Launcher Color
- Needed Help to add new properties HOT 2
- Change the SVG HOT 1
- Preview Images HOT 2
- Error on nextJS when import Launcher HOT 1
- change place and change style of launcher
- Has anyone forked this to react 16-18? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-chat-window.