Coderbits-Widget

Created: 2014-05-18 18:33
Updated: 2016-02-23 06:32
License: mit

README.md

Coderbits Widget

Coderbits Widget developed with Vanilla JS

Demo

View demo here

How to use?

Coderbits Widget is a Vanilla JS plugin with no dependencies. Include the coderbits.min.js in the footer of your page and initialise it:

(function(window, document, undefined) {
    Coderbits.init({
        container: '#coderbits',
        user: 'bit'
    });
}(window, document));

In an AMD loader:

require(['/path/to/coderbits.min'], function(Coderbits) {
    Coderbits.init({
        container: '#coderbits',
        user: 'bit'
    });
});

Options

Customise how Coderbits Widget works by passing in custom options.

// Options
container: '#coderbits' // Element tagname, element class or element id
user: 'bit' // Coderbits username

Browser support

IE Chrome Firefox Opera Safari
IE 8+ ✔ Latest ✔ Latest ✔ Latest ✔ Latest ✔

License

Coderbits Widget is licensed under the MIT License.

Cookies help us deliver our services. By using our services, you agree to our use of cookies Learn more