- 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.textareaAutoResizeto resize textareas
- Renamed plugin from
material_chiptochips - Removed
autocompleteDataautocompleteLimitoptions, 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,closemoved toi18n.clear, andi18n.donerespectively.
- Removed gutter option
- Removed stopPropagation option
- Call plugin on
.dropdown-triggerinstead of.dropdown-button - Change attribute
data-activatestodata-target - Rename classes
.dropdown-buttonto.dropdown-trigger - Rename option
belowOrigintocoverTrigger - 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-activatestodata-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
.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
- Removed onOpen and onClose callback, use onOpenEnd and onCloseEnd callback instead
- Rename
fixedclass tosidenav-fixed - Rename methods
showandhidetoopenandcloserespectively
- Removed automatic initialization, initialize it manually as shown in documentation
- Rename plugin method
select_tabtoselect
- 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
- Change
defaultoption todefaultTime - Timepicker options
clear,closemoved toi18n.clear, andi18n.donerespectively. - Change
fromnowoption tofromNow - Removed
ampmclickableoption
- Arguments list of the M.toast function has been changed into an options Object similar to all the other plugins
- Rename the
classNameoption toclasses
- Removed delay option and added enterDelay and exitDelay
- Removed
tooltipoption, use optionhtmlto 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