@material/web
Version:
Material web components
24 lines • 516 B
JavaScript
/**
* @license
* Copyright 2023 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
/**
* A unique symbol used for protected access to an instance's
* `ElementInternals`.
*
* @example
* ```ts
* class MyElement extends LitElement {
* static formAssociated = true;
*
* [internals] = this.attachInternals();
* }
*
* function getForm(element: MyElement) {
* return element[internals].form;
* }
* ```
*/
export const internals = Symbol('internals');
//# sourceMappingURL=element-internals.js.map