Ink v3.1.5 Release Notes

Release Date: 2015-03-18 // about 9 years ago
  • JS

    • ๐Ÿ”€ Merges #417
    • โž• Adds LazyLoad to Autoload with the .ink-lazyload class
    • โž• Add loadedClass (data-loaded-class="class-name") option to put classes in LazyLoaded elements when they are loaded so they can be styled.
    • โž• Adds TL phones to Ink.Util.Validator
    • โž• Adds EAN validation to Ink.Util.Validator and Ink.UI.FormValidator_2
    • ๐Ÿ›  Fixes multiple onInViewport callbacks in Ink.UI.LazyLoad_1
    • ๐Ÿ‘‰ Make FormValidator's "matches" rule match form elements without a [rules] attribute, because those may not be validated.
    • ๐Ÿšš Modal now uses Flex and VH/VH CSS dimensions remove or lighten the necessity for javascript layout. It is more smooth and a lot faster too! It gracefully degrades into using some javascript layout, or fully rely on it, on older browsers.
    • Toggle will now pass (newState, { element }) as arguments to the onChangeState callback, instead of just the new state
    • ๐Ÿ›  DatePicker bugfixes
    • 0๏ธโƒฃ when isAccordion, the closeOnClick option of a toggle will default to false.
    • DatePicker lang option, to set the language to Portuguese easily, and an Ink.Util.I18n instance to help create more languages.