// Copyright (c) 2012, 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. // DO NOT EDIT - unless you are editing documentation as per: // https://code.google.com/p/dart/wiki/ContributingHTMLDocumentation // Auto-generated dart:html library. /// HTML elements and other resources for web-based applications that need to /// interact with the browser and the DOM (Document Object Model). /// /// > [!Note] /// > This core library is deprecated, and scheduled for removal in late 2025. /// > It has been replaced by [package:web](https://pub.dev/packages/web). /// > The [migration guide](https://dart.dev/go/package-web) has more details. /// /// This library includes DOM element types, CSS styling, local storage, /// media, speech, events, and more. /// To get started, /// check out the [Element] class, the base class for many of the HTML /// DOM types. /// /// For information on writing web apps with Dart, see https://dart.dev/web. /// /// {@category Web (Legacy)} /// {@canonicalFor dart:_internal.HttpStatus} @Deprecated('Use package:web and dart:js_interop instead.') library dart.dom.html; import 'dart:async'; import 'dart:collection' hide LinkedList, LinkedListEntry; import 'dart:_internal' hide Symbol; import 'dart:html_common'; import 'dart:indexed_db'; import "dart:convert"; import 'dart:math'; import 'dart:_native_typed_data'; import 'dart:typed_data'; import 'dart:svg' as svg; import 'dart:svg' show Matrix; import 'dart:svg' show SvgSvgElement; import 'dart:web_audio' as web_audio; import 'dart:web_audio' show AudioBuffer, AudioTrack, AudioTrackList; import 'dart:web_gl' as gl; import 'dart:web_gl' show RenderingContext, RenderingContext2; import 'dart:_foreign_helper' show JS, JS_INTERCEPTOR_CONSTANT; import 'dart:js_util' as js_util; export 'dart:_native_typed_data' show SharedArrayBuffer; // Not actually used, but imported since dart:html can generate these objects. import 'dart:_js_helper' show convertDartClosureToJS, Creates, JavaScriptIndexingBehavior, JSName, Native, Returns, findDispatchTagForInterceptorClass, setNativeSubclassDispatchRecord, makeLeafDispatchRecord, registerGlobalObject, applyExtension; import 'dart:_interceptors' show JavaScriptObject, JavaScriptFunction, JSExtendableArray, JSUInt31, findInterceptorConstructorForType, findConstructorForNativeSubclassType, getNativeInterceptor, setDispatchProperty; export 'dart:_internal' show HttpStatus; export 'dart:html_common' show promiseToFuture; export 'dart:math' show Rectangle, Point; /** * Top-level container for a web page, which is usually a browser tab or window. * * Each web page loaded in the browser has its own [Window], which is a * container for the web page. * * If the web page has any `