classList property

DOMTokenList classList

Allows for manipulation of element's class content attribute as a set of whitespace-separated tokens through a DOMTokenList object.

MDN Reference

Implementation

_i3.DOMTokenList get classList => _i4.getProperty(
      this,
      'classList',
    );