My question is specifically about Custom Header Links (icons).
What should I do if the URL is not fixed, is there a way to link to javascript to perform actions?
My question is specifically about Custom Header Links (icons).
What should I do if the URL is not fixed, is there a way to link to javascript to perform actions?
Hey chien!
It would require a custom script, yes. Can you explain your use case?
Thanks for the reply,
I need to call the chat plugin to create a specific chat room,
probably like this:
@action
chatWithSomebody() {
chat
.upsertDmChannelForUsernames([somebody_name])
.then((channel) => {
this.router.transitionTo("chat.channel", ...channel.routeModels);
});
}