Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 429 Bytes

README.md

File metadata and controls

24 lines (17 loc) · 429 Bytes

Example usage

/* Using TavDiv */

// disable tabdiv processing on page load
Vex.Flow.TabDiv.SEL = null;

$(document).ready(function() {

    // tabdiv - parse, create canvas, and draw
    var tabDiv = new Vex.Flow.TabDiv("#tab");

    // initialize tab player
    var player = new TabPlayer({
        'tabDiv': tabDiv,
        'tempo': 120,
        'notesPerBeat': 4,
        'animation': true
    });

});