Buckets:
| /** | |
| * @license | |
| * Copyright 2017 Google LLC | |
| * SPDX-License-Identifier: BSD-3-Clause | |
| */ | |
| import type { Constructor } from './base.js'; | |
| /** | |
| * Allow for custom element classes with private constructors | |
| */ | |
| type CustomElementClass = Omit<typeof HTMLElement, 'new'>; | |
| export type CustomElementDecorator = { | |
| (cls: CustomElementClass): void; | |
| (target: CustomElementClass, context: ClassDecoratorContext<Constructor<HTMLElement>>): void; | |
| }; | |
| /** | |
| * Class decorator factory that defines the decorated class as a custom element. | |
| * | |
| * ```js | |
| * @customElement('my-element') | |
| * class MyElement extends LitElement { | |
| * render() { | |
| * return html``; | |
| * } | |
| * } | |
| * ``` | |
| * @category Decorator | |
| * @param tagName The tag name of the custom element to define. | |
| */ | |
| export declare const customElement: (tagName: string) => CustomElementDecorator; | |
| export {}; | |
| //# sourceMappingURL=custom-element.d.ts.map |
Xet Storage Details
- Size:
- 895 Bytes
- Xet hash:
- bc950b22beb35a1777dd1535a98cfa43a0ec2a9a260c613fe74052d1bd63d5c0
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.