mirror of https://github.com/flutter/samples.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
436 B
16 lines
436 B
import 'dart:html';
|
|
|
|
import 'package:mdc_web/mdc_web.dart';
|
|
import 'package:samples_index/src/carousel.dart';
|
|
|
|
InputElement searchInput;
|
|
|
|
void main() {
|
|
querySelectorAll('.mdc-card__primary-action').forEach((el) => MDCRipple(el));
|
|
|
|
// Initialize carousel
|
|
// This carousel will use the div slider-container as the base
|
|
// withArrowKeyControl is used to listen for arrow key up events
|
|
Carousel.init(withArrowKeyControl: true);
|
|
}
|