Newer
Older
minerva / Userland / Libraries / LibWeb / HTML / HTMLTemplateElement.idl
@minerva minerva on 13 Jul 675 bytes Initial commit
#import <DOM/DocumentFragment.idl>
#import <HTML/HTMLElement.idl>

// https://html.spec.whatwg.org/multipage/scripting.html#htmltemplateelement
[Exposed=Window]
interface HTMLTemplateElement : HTMLElement {

    [HTMLConstructor] constructor();

    readonly attribute DocumentFragment content;
    [Reflect=shadowrootmode, Enumerated=ShadowRootMode, CEReactions] attribute DOMString shadowRootMode;
    [Reflect=shadowrootdelegatesfocus, CEReactions] attribute boolean shadowRootDelegatesFocus;
    [Reflect=shadowrootclonable, CEReactions] attribute boolean shadowRootClonable;
    [Reflect=shadowrootserializable, CEReactions] attribute boolean shadowRootSerializable;
};