- Components are no longer initialized automatically on document load by Materialize
- Added function
M.AutoInit()
that initializes all components
- Automatic initialization removed, initialize it manually as shown in documentation
- Changed Checkboxes and Radio buttons to have similar label wrapping as switches
- Instead of using
.trigger('autoresize')
useM.textareaAutoResize
to resize textareas
- Renamed plugin from
material_chip
tochips
- Removed
autocompleteData
autocompleteLimit
options, instead pass in autocomplete related options inautocompleteOptions
- Removed event triggers, use onChipAdd, onChipSelect, onChipDelete callback options instead
- Removed automatic initialization, initialize it manually as shown in documentation
- Removed html attribute options, use the options parameter during initialization instead
- Removed onOpen and onClose callbacks and added onOpenStart, onOpenEnd, onCloseStart, onCloseEnd callbacks
- Removed dismissible collections
- Complete rewrite of Datepicker, please see new documentation
- Rename plugin call from
.pickadate()
to.datepicker()
- Datepicker options
clear
,close
moved toi18n.clear
, andi18n.done
respectively.
- Removed gutter option
- Removed stopPropagation option
- Call plugin on
.dropdown-trigger
instead of.dropdown-button
- Change attribute
data-activates
todata-target
- Rename classes
.dropdown-button
to.dropdown-trigger
- Rename option
belowOrigin
tocoverTrigger
- Removed automatic initialization, initialize it manually as shown in documentation
- Automatic initialization removed
- Converted to plugin
- Removed automatic initialization, initialize it manually as shown in documentation
- Change attribute
data-activates
todata-target
- Removed ready and complete callback, use onOpenEnd and onOpenEnd callback instead
- Plugin removed, this capability is better handled by other existing open source plugins
- Rename plugin call
.material_select()
to.formSelect()
- Removed menuWidth option, use CSS to set sidenav width instead
- 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
- Removed onOpen and onClose callback, use onOpenEnd and onCloseEnd callback instead
- Rename
fixed
class tosidenav-fixed
- Rename methods
show
andhide
toopen
andclose
respectively
- Removed automatic initialization, initialize it manually as shown in documentation
- Rename plugin method
select_tab
toselect
- 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
- Change
default
option todefaultTime
- Timepicker options
clear
,close
moved toi18n.clear
, andi18n.done
respectively. - Change
fromnow
option tofromNow
- Removed
ampmclickable
option
- 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
- Removed delay option and added enterDelay and exitDelay
- Removed
tooltip
option, use optionhtml
to set tooltip html instead - Some html attribute options have been removed, only data-tooltip and data-position remain, instead use the options during initialization to set options
- JavaScript transitions removed