Adding a button in the each Message View that opens a popover with custom information

182 views
Skip to first unread message

stoneheart

unread,
Oct 25, 2016, 11:58:50 AM10/25/16
to InboxSDK
Hi,

Is there a way I can add a button next to "Reply", "More" in the message views. I can see there is way to add a button inside "More".

If not, then is it possible to add a custom button, when clicked opens a popover inside of the message view (like inserting custom html), just like how we add a custom button in the compose view.

I have attached a screenshot explaining what I am looking for.



Omar Ismail

unread,
Oct 31, 2016, 1:25:58 PM10/31/16
to stoneheart, InboxSDK
On message view (https://www.inboxsdk.com/docs/#MessageView) there's a call "addAttachmentIcon" that will add a clickable icon to precisely that area.
Right now the descriptor only allows for an "onClick" function, so can't attach a dropdown there, but maybe you can bring up a modal?

--
You received this message because you are subscribed to the Google Groups "InboxSDK" group.
To unsubscribe from this group and stop receiving emails from it, send an email to inboxsdk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/inboxsdk/453f71c6-6752-4728-b357-fe8f75eb5b2d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages