maciej-gurban / responsive-bootstrap-toolkit

Responsive Bootstrap Toolkit allows for easy breakpoint detection in JavaScript
MIT License
363 stars 89 forks source link

Bootstrap 4 #43

Closed silentFred closed 8 years ago

silentFred commented 8 years ago

In case someone needed the bootstrap 4 backwards compatible mapping:

var visibilityDivs = { 'xs': $('<div class="hidden-xl-up"></div>'), 'sm': $('<div class="hidden-lg-up"></div>'), 'md': $('<div class="hidden-md-up"></div>'), 'lg': $('<div class="hidden-sm-up"></div>') };

maciej-gurban commented 8 years ago

This is incorrect. Refer to this snippet

silentFred commented 8 years ago

Thank you @maciej-gurban