Skip to content
David Gonzalez edited this page Apr 9, 2017 · 16 revisions

Description

Pastebins in SeeCodeRun can be shared and you can now when that happens.

API Navigation

Pastebin events are part of the external communications SeeCodeRun offers. #Commands You can share pastebins so others can work independently based on your current work by taking your current URL and add a ":" right before your pastebin unique id starts. For example, if your browser shows the URL "https://seecode.run/#-KhF_XVS9OsV8sFl2Ek_", to share the pastebin it should look like this "https://seecode.run/#:-KhF_XVS9OsV8sFl2Ek_".

Events

"shareLinkShown"

Every time the user clicks on the share button, this event will be emitted.

"shareLinkCopied"

Every time the user copies the share link, this event will be emitted.

"shareLinkClicked"

Every time the user clicks the share link, this event will be emitted.

"shareLinkUsed"

Every time a user creates a pastebin based on the shown link, this event will be emitted. #LifeCycle Previous events are connected as follows: "shareLinkShown" --> "shareLinkCopied" or "shareLinkClicked" --> "shareLinkUsed".

Note: There are cases not done via SeeCodeRun UI. Well, it is a URL, once you got the link you can use it afterwards or use the URL share command ":" and the create it.

Methods

Parameters

Type and common configuration

Workflow

Constraints

Related

Clone this wiki locally