APIs

Show:

This file represents a basic class in JS.

Here's a code sample:

(function() {
    // I'm an IIFE!  So let's win everything:
    window.winEverything();
}());

And whenever you want to have whatever this styling is, just use those backticks!

Methods

a.method

()

A namespaced method.

chainableMethod

() chainable

A chainable method.

multTwo

(
  • n
)

Takes params and returns something.

Parameters:

Returns:

n * 2

simpleA

()

Another simple method to take up space.

simpleB

()

Another simple method to take up space.

simpleC

()

Another simple method to take up space.

simpleD

()

Another simple method to take up space.

simpleE

()

Another simple method to take up space.

simpleF

()

Another simple method to take up space.

simpleG

()

Another simple method to take up space.

simpleMethod

()

A simple method that does something and returns nothing.

z.method

()

Another namespaced method.

Properties

instanceVar

Number

A simple property.

Default: 1

instanceVar2

Number

Another simple property.

Default: 2