- Call plugin on
.sidenavinstead of.button-collapse - Change attribute
data-activatestodata-target - Add
.sidenav-triggerclass to sidenav open trigger - Rename classes
.side-navto.sidenav - Remove deprecated class
.userView, use.user-viewinstead - Rename plugin call
.sideNav()to.sidenav() - Sidenav option
closeOnClickno longer exists- Instead apply the class
.sidenav-closeto any item in the Sidenav that you wish to trigger a close.
- Instead apply the class
- Initialize plugin (no longer initializes by default)
- Rename plugin method
select_tabtoselect
- Removed event triggers, use callback options instead
- Call plugin on
.dropdown-contentinstead of.dropdown-button - Change attribute
data-activatestodata-target - Rename classes
.dropdown-buttonto.dropdown-trigger - Rename option
belowOrigintocoverTrigger - Removed stopPropagation option
- Rename plugin call
.material_select()to.select()
- Rename plugin call
.tapTarget()to.featureDiscovery() - Change attribute
data-activatestodata-target
- Added new Helper Text element that should be placed after the
label - Moved validation messages
data-erroranddata-successto Helper Text - Changed Checkboxes and Radio buttons to have similar label wrapping as switches
- Instead of using
.trigger('autoresize')useM.textareaAutoResizeto resize textareas
- Rename plugin call
.pickadate()to.datepicker() - Datepicker options
today,clear,closemoved toi18n.today,i18n.clear, andi18n.donerespectively.
- Removed dismissible collections
- Removed due to simplicity and overlap. There are much better scrolling libraries that people should use
- JavaScript transitions removed
- Automatic initialization removed
- Converted to plugin
- Automatic initialization removed
- Arguments list of the M.toast function has been changed into an options Object similar to all the other plugins
- Rename the
classNameoption toclasses
- Automatic initialization removed