Skip to content

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
import 'dart:html';
void main() {
var carousel = query(".carousel");
var classList = [];
carousel.children.forEach((childElement) => classList.addAll(childElement.classes));
print(classList);
}
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Classes</title>
<link rel="stylesheet" href="classes.css">
</head>
<body>
<div class="carousel">
<div class="galleryCars">
....
</div>
<div class="galleryCars2">
....
</div>
<div class="galleryCars3">
....
</div>
<div class="galleryCars4">
....
</div>
</div>
<script type="application/dart" src="classes.dart"></script>
<script src="packages/browser/dart.js"></script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.