/* * Copyright (c) 2024, Matthew Olsson . * * SPDX-License-Identifier: BSD-2-Clause */ #include #include namespace Web::Animations { // https://www.w3.org/TR/web-animations-1/#dom-animatable-animate WebIDL::ExceptionOr> Animatable::animate(Optional> keyframes, Variant options) { // FIXME: Implement this (void)keyframes; (void)options; return WebIDL::SimpleException { WebIDL::SimpleExceptionType::TypeError, "Element.animate is not implemented"sv }; } // https://www.w3.org/TR/web-animations-1/#dom-animatable-getanimations Vector> Animatable::get_animations(Web::Animations::GetAnimationsOptions options) { // FIXME: Implement this (void)options; return {}; } }