className property

String get className

Returns the value of element's class content attribute. Can be set to change it.

MDN Reference

Implementation

_i2.String get className => _i4.getProperty(
      this,
      'className',
    );
set className (String value)

Implementation

set className(_i2.String value) {
  _i4.setProperty(
    this,
    'className',
    value,
  );
}