/** * @license * Copyright 2023 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { ReactiveElement } from 'lit'; import { WithElementInternals } from '../../labs/behaviors/element-internals.js'; /** * A string indicating the form submission behavior of the element. * * - submit: The element submits the form. This is the default value if the * attribute is not specified, or if it is dynamically changed to an empty or * invalid value. * - reset: The element resets the form. * - button: The element does nothing. */ export type FormSubmitterType = 'button' | 'submit' | 'reset'; /** * An element that can submit or reset a `