code: def spinner(self, spinner=None):
          
  
          self._spinner = self._get_spinner(spinner)
          self._frame_index = 0
          self._text_index = 0
docs: Setter for spinner property.
          Parameters
          ----------
          spinner : dict, str
              Defines the spinner value with frame and interval