RefreshLoader.js
function _createForeground(node) {
        this._foreground = {
            surface: new Surface({
                size: this.options.size,
                properties: {
                    backgroundColor: this.options.pullToRefreshBackgroundColor
                }
            }),
            mod: new Modifier({})
        };
        node.add(this._foreground.mod).add(this._foreground.surface);
    }
function _createForeground(node) {
        this._foreground = {
            surface: new Surface({
                size: this.options.size,
                properties: {
                    backgroundColor: this.options.pullToRefreshBackgroundColor
                }
            }),
            mod: new Modifier({})
        };
        node.add(this._foreground.mod).add(this._foreground.surface);
    }
function _createForeground ( node ) { this . _foreground = { surface : new Surface ( { size : this . options . size , properties : { backgroundColor : this . options . pullToRefreshBackgroundColor } } ) , mod : new Modifier ( { } ) } ; node . add ( this . _foreground . mod ) . add ( this . _foreground . surface ) ; }
Creates the foreground behind which the particles can hide in case of pull to refresh.
Creates the foreground behind which the particles can hide in case of pull to refresh .