summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/catapult/third_party/polymer2/bower_components/polymer/types/lib/elements/dom-bind.d.ts
blob: 716dd3f9e299f6238c1c2283972c93d0a5059fdb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
/**
 * DO NOT EDIT
 *
 * This file was automatically generated by
 *   https://github.com/Polymer/gen-typescript-declarations
 *
 * To modify these typings, edit the source file(s):
 *   lib/elements/dom-bind.html
 */

/// <reference path="../utils/boot.d.ts" />
/// <reference path="../mixins/property-effects.d.ts" />
/// <reference path="../mixins/mutable-data.d.ts" />
/// <reference path="../mixins/gesture-event-listeners.d.ts" />

declare namespace Polymer {

  /**
   * Custom element to allow using Polymer's template features (data binding,
   * declarative event listeners, etc.) in the main document without defining
   * a new custom element.
   *
   * `<template>` tags utilizing bindings may be wrapped with the `<dom-bind>`
   * element, which will immediately stamp the wrapped template into the main
   * document and bind elements to the `dom-bind` element itself as the
   * binding scope.
   */
  class DomBind extends
    Polymer.PropertyEffects(
    Polymer.OptionalMutableData(
    Polymer.GestureEventListeners(
    Polymer.Element))) {
    attributeChangedCallback(): void;
    connectedCallback(): void;
    disconnectedCallback(): void;

    /**
     * Forces the element to render its content. This is typically only
     * necessary to call if HTMLImports with the async attribute are used.
     */
    render(): void;
  }
}

interface HTMLElementTagNameMap {
  "dom-bind": Polymer.DomBind;
}