mirror of
https://github.com/flutter/samples.git
synced 2026-03-24 13:22:01 +00:00
16 lines
436 B
Dart
16 lines
436 B
Dart
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);
|
|
}
|