playground/assets/dflip/js/dflip.js
/**
     * @constructs DFLightBox
     * @param closeCallback callBack function required to dispose object properly when lighbox is closed
     */
@constructs DFLightBox
@param closeCallback callBack function required to dispose object properly when lighbox is closed
@constructs DFLightBox @param closeCallback callBack function required to dispose object properly when lighbox is closed
function DFLightBox(closeCallback, options) {
        this.duration = 300;
        var _this = this;
        _this.lightboxWrapper = $("<div>").addClass("df-lightbox-wrapper");
        _this.container = $("<div>").addClass("df-container").appendTo(_this.lightboxWrapper);
        _this.controls = $("<div>").addClass("df-lightbox-controls").appendTo(_this.lightboxWrapper);
        _this.closeButton = $("<div>").addClass("df-lightbox-close df-ui-btn")
            .on("click", function () {
                _this.close(closeCallback);
            })
            .appendTo(_this.controls);
        _this.lightboxWrapper.append(_this.container);
        return _this;
    }
function DFLightBox ( closeCallback , options ) { this . duration = 300 ; var _this = this ; _this . lightboxWrapper = $ ( "<div>" ) . addClass ( "df-lightbox-wrapper" ) ; _this . container = $ ( "<div>" ) . addClass ( "df-container" ) . appendTo ( _this . lightboxWrapper ) ; _this . controls = $ ( "<div>" ) . addClass ( "df-lightbox-controls" ) . appendTo ( _this . lightboxWrapper ) ; _this . closeButton = $ ( "<div>" ) . addClass ( "df-lightbox-close df-ui-btn" ) . on ( "click" , function ( ) { _this . close ( closeCallback ) ; } ) . appendTo ( _this . controls ) ; _this . lightboxWrapper . append ( _this . container ) ; return _this ; }
@constructs DFLightBox
 @param closeCallback callBack function required to dispose object properly when lighbox is closed
@constructs DFLightBox @param closeCallback callBack function required to dispose object properly when lighbox is closed
//cache this
 //lightbox wrapper div
 //lightbox container
 //lightbox controls
 //lightbox close button
