Skip to content

Latest commit

 

History

History
134 lines (99 loc) · 3.66 KB

v1-changelog.md

File metadata and controls

134 lines (99 loc) · 3.66 KB

Autocomplete

  • Added sort function to order completion results

Carousel

  • Added numVisible option
  • Added onCycleTo callback

Chips

  • Renamed plugin from material_chip to chips
  • Removed autocompleteData autocompleteLimit options, instead pass in autocomplete related options in autocompleteOptions
  • Removed event triggers, use callback options instead
  • Added limit option
  • Added 3 callbacks onChipAdd, onChipSelect, onChipDelete
  • Removed onChipAdd, onChipSelect, onChipDelete events

Collapsible

  • Removed automatic initialization
  • Removed html attribute options
  • Added keyboard support
  • Added onOpenStart callback
  • Added onOpenEnd callback
  • Added onCloseStart callback
  • Added onCloseEnd callback

Datepicker

Dropdown

  • Added keyboard support
  • Removed gutter option
  • Changed belowOrigin option to coverTrigger
  • Removed stopPropagation option
  • Removed automatic initialization
  • Call plugin on .dropdown-content instead of .dropdown-button
  • Change attribute data-activates to data-target
  • Rename classes .dropdown-button to .dropdown-trigger
  • Rename option belowOrigin to coverTrigger
  • Added onOpenStart callback
  • Added onOpenEnd callback
  • Added onCloseStart callback
  • Added onCloseEnd callback

Materialbox

  • Added inDuration option
  • Added outDuration option
  • Added onOpenStart callback
  • Added onOpenEnd callback
  • Added onCloseStart callback
  • Added onCloseEnd callback

Modal

  • Changed modal animation
  • Added preventScrolling option
  • Change attribute data-activates to data-target
  • Removed read and complete callback
  • Added onOpenStart callback
  • Added onOpenEnd callback
  • Added onCloseStart callback
  • Added onCloseEnd callback

Parallax

  • Added responsiveThreshold option to disable parallax effect below a certain screensize

Pushpin

  • Add callback that fires when a pushpin item changes between its 3 states

Scrollfire

  • Plugin removed

Scrollspy

  • Added throttle option

Sidenav

  • Removed menuWidth option, use CSS to set sidenav width instead
  • Call plugin on .sidenav instead of .button-collapse
  • Change attribute data-activates to data-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.
  • Renamed fixed class to sidenav-fixed
  • Renamed methods show and hide to open and close respectively
  • Added preventScrolling option
  • Removed onOpen and onClose callbacks
  • Added onOpenStart callback
  • Added onOpenEnd callback
  • Added onCloseStart callback
  • Added onCloseEnd callback

Tabs

  • Removed automatic initialization
  • Renamed plugin method select_tab to select
  • Added duration option
  • Added method updateTabIndicator to fix tab underline position

Tap Target

  • Added onOpen callback
  • Added onClose callback

Toasts

  • Arguments list of the M.toast function has been changed into an options Object similar to all the other plugins
  • Rename the className option to classes
  • Added activationPercent option

Tooltip

  • Removed delay option and added enterDelay and exitDelay
  • Removed tooltip option, use option html to set tooltip html instead
  • Added margin option
  • Added inDuration and outDuration options
  • Added transitionMovement option
  • Added keyboard support
  • Some html attribute options have been removed, only data-tooltip and data-position remain, instead use the options during initialization to set options

Typography

  • Removed Roboto