Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
25 lines (13 sloc) 506 Bytes

Class: TOC {#TOC}

TOC is a MooTools Plugin which turn a list of HTML headings into a Table of Content

Implements:

Options, Events

TOC Method: constructor {#TOC:constructor}

Syntax:

var toc = new TOC(element);

Arguments:

  1. element - (*String* or *Element*)  Should be an element or an element's ID where you want to inject the Table of Content.

Returns:

A TOC instance.