New in Magnet 2
- A bin- packing algorithm to create gapless layouts for ‘grid’ layout mode.
- A new layout mode ‘grid’ that replaces ‘masonry’ and ‘tiles’, creating gapless layouts that can be filled from left to right or top to bottom.
- Magnet now emits custom events.
- New methods that extend Magnet’s functionality.
- More options for a deeper customization.
- Fixed: A bug when getting the exact size of an element if it was set in percent. These values were rounded instead of staying as a floating point number, causing layouts to break if elements were rendered in sub-pixels. This has been corrected so that tthe size obtained stays as a floating point number.
- Fixed: A bug related to Event constructor that was causing the plugin not to work in IE11.
- Fixed: A bug that caused remove method not to remove items for certain arguments types passed.
- Updated: Documentation to 2.0.1.
- Added: 'grid' layout mode.
- Added: Sorting.
- Added: Events.
- Added: New methods.
- Added: New options.
- Removed: 'masonry', 'tiled' and 'static' layout modes.
- Updated: Documentation to 2.0.0.
- Updated: Documentation to 1.3.0.
- Added: Static layout mode.
- Added: Methods.
- Fixed: A bug that caused items not to hide when a filter was set via plugin options.
- Fixed: Issue with masonry layout mode. When first item of the row was higher than the rest of the items in that row, there were white spaces below this items, next row wasn't placed at the correct height.
- Updated: Documentation to 1.2.0 version.
- Added: New animation types. There are 5 different animations that trigger when filtering occurs. This can be set in options.
- Added: animationType option.
- Changed: Animation on plugin initialitation is removed.
- Changed: Way of getting the width value introduced in 1.1.1 version. Due to changes made to get items' size every time the window resizes, this method was causing a conflict when a filter was clicked.
- Fixed: Issue on masonry layout mode on window resize. This mode and tiled mode have been improved.
- Fixed: Issue when items resized on window resize. This size was expected to be the same as on initialization. Now this values are get every time window resizes.
- Updated: Documentation with new layout mode.
- Fixed: Small issue when getting exact container width on initialization.
- Added: New layout mode (tiled).
- Fixed: Issue when getting the value of the width set in percent of an element. jQuery got this value but it rounded to an integer causing layout breaks in some cases. Now, this value is returned as a float.
- Updated: Documentation with new option and a live demo in the footer
- Fixed: Wrong path on linked js in example
- Fixed: Minor bug setting a clicked filter as active
- Fixed: Minor bug when getting a filter on click event
- Added: New option gutter
Mercifully Note: We refresh new substance like WordPress Themes,
Plugins, PHP Scripts ordinary. In any case, recall that you
ought to never utilize this things in a business site.
Every one of the substance posted here for advancement
and testing reason as it were. We’re not in charge of