dist/toolkit.js
function(content) {
        // AJAX is currently loading
        if (content === true) {
            return;
        }

        // Hide blackout loading message
        if (this.blackout) {
            this.blackout.hideLoader();
        }

        this.fireEvent('showing');

        var body = this.element.find(this.ns('content'));
            body.html(content);

        this.fireEvent('load', [content]);

        // Reveal modal
        this.element.reveal();

        // Resize modal
        if (this.options.fullScreen) {
            body.css('min-height', $(window).height());
        }

        this.fireEvent('shown');
    }
function(content) {
        // AJAX is currently loading
        if (content === true) {
            return;
        }

        // Hide blackout loading message
        if (this.blackout) {
            this.blackout.hideLoader();
        }

        this.fireEvent('showing');

        var body = this.element.find(this.ns('content'));
            body.html(content);

        this.fireEvent('load', [content]);

        // Reveal modal
        this.element.reveal();

        // Resize modal
        if (this.options.fullScreen) {
            body.css('min-height', $(window).height());
        }

        this.fireEvent('shown');
    }
function ( content ) { // AJAX is currently loading if ( content === true ) { return ; } // Hide blackout loading message if ( this . blackout ) { this . blackout . hideLoader ( ) ; } this . fireEvent ( 'showing' ) ; var body = this . element . find ( this . ns ( 'content' ) ) ; body . html ( content ) ; this . fireEvent ( 'load' , [ content ] ) ; // Reveal modal this . element . reveal ( ) ; // Resize modal if ( this . options . fullScreen ) { body . css ( 'min-height' , $ ( window ) . height ( ) ) ; } this . fireEvent ( 'shown' ) ; }
Position the modal in the center of the screen.

@param {String|jQuery} content
Position the modal in the center of the screen .