Create a gist now

Instantly share code, notes, and snippets.

import 'dart:html';
void main() {
var carousel = query(".carousel");
var classList = [];
carousel.children.forEach((childElement) => classList.addAll(childElement.classes));
<!DOCTYPE html>
<meta charset="utf-8">
<link rel="stylesheet" href="classes.css">
<div class="carousel">
<div class="galleryCars">
<div class="galleryCars2">
<div class="galleryCars3">
<div class="galleryCars4">
<script type="application/dart" src="classes.dart"></script>
<script src="packages/browser/dart.js"></script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment