Last active
July 19, 2019 16:35
-
-
Save gsmartagence/acec69ff1f70b0b4f2a54e0afda73598 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * bootstrapBreakpointsHelperIIFE | |
| */ | |
| const bootstrapBreakpointsHelperIIFE = function () { | |
| 'use strict' | |
| const bootstrapControlStr = '<div style="display:block;padding:1rem 2rem;position:fixed;bottom:0;right:0;z-index:999999;background-color:#B30000;color:#FFF;"><div class="d-block d-sm-none"> XS</div><div class="d-none d-sm-block d-md-none">SM</div><div class="d-none d-md-block d-lg-none">MD</div><div class="d-none d-lg-block d-xl-none">LG</div><div class="d-none d-xl-block">XL</div></div>' | |
| const bootstrapControl = document.createElement('div') | |
| bootstrapControl.innerHTML = bootstrapControlStr | |
| document.body.appendChild(bootstrapControl) | |
| }() | |
| export {bootstrapBreakpointsHelperIIFE} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "name": "bootstrapBreakpointsHelperIIFE.js", | |
| "version": "0.2.1" | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment