Module: ko/share/slack/dialog

Methods


require("ko/share/slack/dialog").create()

Trigger a dialog for a user to fill in fields for posting to slack

Asks for (* means madatory):
  Title (Defaults to `   ` of `filename-snippet`, if changed gets saved to prefs)
  Channels* (Saves last select)
  Message (No default, not saved)
Returns:

postData object holding the about values

{
     "title":"Posted from Komodo IDE",
     "channels":"a,b,c",
     "message":"Look what I made!"
 }
Type
Object