addBreakpoint(breakpoint) {
        if (this.styleSheet && !this.breakpoints[breakpoint]) {
            this.breakpoints[breakpoint] = this.styleSheet.cssRules[this.styleSheet.insertRule(`@media(min-width:${this.config.breakpoints[breakpoint]}px){}`, this.styleSheet.cssRules.length)];
            this.breakpointsCount += 1;
        }
    }
/**
     * Adds new media breakpoint rule.
     *
     * @param breakpoint - Breakpoint to add media rule for.
     */
Adds new media breakpoint rule.
@param breakpoint - Breakpoint to add media rule for.
Adds new media breakpoint rule . @param breakpoint - Breakpoint to add media rule for .
addBreakpoint(breakpoint) {
        if (this.styleSheet && !this.breakpoints[breakpoint]) {
            this.breakpoints[breakpoint] = this.styleSheet.cssRules[this.styleSheet.insertRule(`@media(min-width:${this.config.breakpoints[breakpoint]}px){}`, this.styleSheet.cssRules.length)];
            this.breakpointsCount += 1;
        }
    }
addBreakpoint ( breakpoint ) { if ( this . styleSheet && ! this . breakpoints [ breakpoint ] ) { this . breakpoints [ breakpoint ] = this . styleSheet . cssRules [ this . styleSheet . insertRule ( ` ${ this . config . breakpoints [ breakpoint ] } ` , this . styleSheet . cssRules . length ) ] ; this . breakpointsCount += 1 ; } }
Adds new media breakpoint rule.
Adds new media breakpoint rule .