Movatterモバイル変換


[0]ホーム

URL:


menu
  1. Dart
  2. dart:html
  3. Element
  4. classes property
classes
description

classes property

CssClassSet getclasses

The set of CSS classes applied to this element.

This set makes it easy to add, remove or toggle the classes applied tothis element.

element.classes.add('selected');element.classes.toggle('isOnline');element.classes.remove('selected');

Implementation

CssClassSet get classes => new _ElementCssClassSet(this);
setclasses(Iterable<String>value)

Implementation

set classes(Iterable<String> value) {  // TODO(sra): Do this without reading the classes in clear() and addAll(),  // or writing the classes in clear().  CssClassSet classSet = classes;  classSet.clear();  classSet.addAll(value);}
  1. Dart
  2. dart:html
  3. Element
  4. classes property
Element class

[8]ページ先頭

©2009-2025 Movatter.jp