- Call plugin on
.sidenav
instead of.button-collapse
- Change attribute
data-activates
todata-target
- Add
.sidenav-trigger
class to sidenav open trigger - Rename classes
.side-nav
to.sidenav
- Remove deprecated class
.userView
, use.user-view
instead - Rename plugin call
.sideNav()
to.sidenav()
- Sidenav option
closeOnClick
no longer exists- Instead apply the class
.sidenav-close
to 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_tab
toselect
- Removed event triggers, use callback options instead
- Call plugin on
.dropdown-content
instead of.dropdown-button
- Change attribute
data-activates
todata-target
- Rename classes
.dropdown-button
to.dropdown-trigger
- Rename option
belowOrigin
tocoverTrigger
- Removed stopPropagation option
- Rename plugin call
.material_select()
to.select()
- Rename plugin call
.tapTarget()
to.featureDiscovery()
- Change attribute
data-activates
todata-target
- Added new Helper Text element that should be placed after the
label
- Moved validation messages
data-error
anddata-success
to Helper Text - Changed Checkboxes and Radio buttons to have similar label wrapping as switches
- Instead of using
.trigger('autoresize')
useM.textareaAutoResize
to resize textareas
- Rename plugin call
.pickadate()
to.datepicker()
- Datepicker options
today
,clear
,close
moved toi18n.today
,i18n.clear
, andi18n.done
respectively.
- 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
className
option toclasses