Skip to content

daniel-cotton/socket-io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

<socket-io>

Published on webcomponents.org

Polymer 1.0 element for socket.io apis.

Demo/Docs available @ https://daniel-cotton.github.io/socket-io/

<socket-io id="socket" endpoint="https://socket-io-tester.herokuapp.com/" events="[[events]]"></socket-io>

To use the element

Firstly - install via Bower.

bower install --save daniel-cotton/socket-io

Then import into your Polymer project

<link rel="import" href="../bower_components/socket-io/socket-io.html">

To Build

Install the Polymer-CLI

First, make sure you have the Polymer CLI installed. Then run polymer serve to serve your application locally.

Running Tests

$ polymer test

This component can be tested via web-component-tester. Run polymer test to run your application's test suite locally.