| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Following this spec http://www.w3.org/TR/2012/WD-css3-grid-layout-20120322/ because current IE10 is using that one.
The concept of this polyfill are trying to only change the CSS and not to edit any DOM elements.
Also the polyfill currently only polyfill the -ms- prefix
Simply add the script after jQuery
<script src="grid-layout-polyfill.min.js"></script>
Methods
Events
$(grid).gridLayout({
// Resize event, triggers when window resize with 100ms delay to increase performance
'resize' : function() {}
})
display: -ms-grid; -ms-grid-columns: 100px 1fr auto; /* Only pixel, fraction and auto units */ -ms-grid-rows: 100px 1fr auto; /* Only pixel, fraction and auto units */ -ms-grid-column: 1; -ms-grid-row: 1; -ms-grid-column-span: 1; -ms-grid-row-span: 1;
| Back | FazBrowse Home | New Git URL |