Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
  <head>
    <meta name="description" content="Send user to user message">
    <title>Circuit JS SDK</title>
    <script src="https://unpkg.com/circuit-sdk@beta"></script>
    <script src="https://rawgit.com/circuit/js-sdk/master/jsbin-template.js"></script>
    <link rel="stylesheet" href="https://rawgit.com/circuit/js-sdk/master/jsbin-template.css">
  </head>
  <body>
    <div id="template"></div>
    <section id="main" style="display:none">
      <div>
        <input id="channelSend" type="text" placeholder="Channel to send message on"/>
        <input id="destUserId" type="text" placeholder="Destination UserID"/>
        <input id="message" type="text" placeholder="Message to send"/>
        <button id="send">Send message</button>
      </div>
      <div>
        <input id="channelListen" type="text" placeholder="Channel to listen on"/>
        <button id="listen">Start listening</button>
        <button id="stopListen">Stop listening</button>
      </div>
    </section>
</body>
</html>
Output 300px

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
rogerupro
0viewers