code: def animation(self, animation):
          
          self._animation = animation
          self._text = self._get_text(self._text['original'])
docs: Setter for animation property.
          Parameters
          ----------
          animation: str
              Defines the animation of the spinner