blob: 9e341f8f565a916c37282fb160a3bd1dcb4b6b83 [file]
// Copyright (c) 2026, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
//
// API docs from [MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web).
// Attributions and copyright licensing by Mozilla Contributors is licensed
// under [CC-BY-SA 2.5](https://creativecommons.org/licenses/by-sa/2.5/.
// Generated from Web IDL definitions.
// ignore_for_file: constant_identifier_names, non_constant_identifier_names
// ignore_for_file: unnecessary_ignore
@JS()
library;
import 'dart:js_interop';
import 'css_view_transitions.dart';
import 'cssom.dart';
extension type CSSViewTransitionRule._(JSObject _)
implements CSSRule, JSObject {
external String get navigation;
external JSArray<JSString> get types;
}
extension type ViewTransitionTypeSet._(JSObject _) implements JSObject {}
extension type StartViewTransitionOptions._(JSObject _) implements JSObject {
external factory StartViewTransitionOptions({
ViewTransitionUpdateCallback? update,
JSArray<JSString>? types,
});
external ViewTransitionUpdateCallback? get update;
external set update(ViewTransitionUpdateCallback? value);
external JSArray<JSString>? get types;
external set types(JSArray<JSString>? value);
}