Module: ko/share/slack

Sharing sub-module for ko/share that adds slack sharing

Methods


require("ko/share/slack").share(data, meta)

Share content on Slack

Parameters:
Name Type Description
data String

Data to share

meta Object

Object containing meta information

Returns:
Type
Void

require("ko/share/slack").signout()

Deletes your api key and deletes saved cookies that make you log into a particular team, ie. activestate.slack.com