[Webkit-unassigned] [Bug 167135] JS implementation of TemplatePart

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jan 17 13:11:31 PST 2017


https://bugs.webkit.org/show_bug.cgi?id=167135

--- Comment #1 from Ryosuke Niwa <rniwa at webkit.org> ---
WebIDL:

callback TemplateProcessor = void (TemplateInstance instance, sequence<TemplatePart> parts, any parameters);

interface TemplatePart {
    stringier attribute DOMString value;
    readonly attribute DOMString expression;
}

interface AttributeTemplatePart : TemplatePart {
}

interface NodeTemplatePart : TemplatePart {
    void replace(sequence<Node>);
    void replaceHTML(DOMString html);
}

partial interface HTMLTemplateElement {
    TemplateInstance createInstance(any parameters, optional TemplateProcessor processor);
}

interface TemplateInstance : DocumentFragment  {
    void update(any parameters);
}

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170117/5c84f289/attachment.html>


More information about the webkit-unassigned mailing list