Material Design Lite Spinner



what is spinner in (MDL) ?

  • Material Design Lite(MDL) component spinner is to create aenhanced wait cursor different than the classic one.
  • The Spinner is used to denote an ongoing process or task, the result of which are yet to be generated.
  • A Default Spinner comprises of open ended circle which changing colors as it rotates in clockwise direction, to denote that the process has begun but waiting and not yet completed.
  • The purpose of using a spinner is to provide a clue to the user about an ongoing activity, it improves the user experience greatly while user waits for completion of operation.
  • No action can be performed on the spinnner, nor does it perform an action when clicked or dragged, simply denotes waiting for uncompleted task.
  • Users can apply different color schemes to the spinner, the default spinner has all colors in the theme displayed one after another during the animation.

Material Design Lite(MDL) : Default Spinner

  • A MDL Spinner is created using class mdl-spinner
  • The Class is-active is used to make the spinner activated.
<div class="main">
<!-- MDL Container using class mdl-spinner -->
<div class="mdl-spinner mdl-js-spinner is-active"></div>
	
</div><!-- End of .main class -->
Note:The Color of the default spinner changes during animation

Material Design Lite(MDL) Spinner : Single Color

  • A MDL Spinner with just one color can be created using class mdl-spinner--single-color
  • The class is-active is used to make the spinner active.
<div class="main">
<!-- MDL Container using class mdl-spinner -->
<div class="mdl-spinner mdl-spinner--single-color mdl-js-spinner is-active"></div>

</div><!-- End of .main class -->
  • Note: A Primary theme color is selected as the color of the spinner.
  • Material Design Lite : Spinner Classes

    MDL Class Description
    mdl-spinner To create a container for progress bar.
    mdl-js-spinner To assign MDL behaviour to progress bar component
    is-active To apply animation effect to MDL progress bar.
    mdl-spinner--single-color To create a spinner with only the primary palette instead of multiple colors

    This material design lite tutorial provides you the basics on the following areas android material design , google material design , material ui , google design , amg lite , bootstrap material design , mdl , materialize css , cool material , material design list , material design website , material design cards , material design ui , material design web , material design apps , material design tutorial , angular material design , material design table , material design angular , material design examples , material design theme , material design animation , material design css , what is material design , material design framework , material design buttons , material design template , material design components , google material design colors , material design google , material design light

    Related Searches to Material Design Lite Spinner