@haxtheweb/haxcms-nodejs
Version:
HAXcms single and multisite nodejs server, api, and administration
53 lines (42 loc) • 1.34 kB
TypeScript
/**
* DO NOT EDIT
*
* This file was automatically generated by
* https://github.com/Polymer/tools/tree/master/packages/gen-typescript-declarations
*
* To modify these typings, edit the source file(s):
* src/vaadin-grid-tree-column.js
*/
// tslint:disable:variable-name Describing an API that's defined elsewhere.
import {GridColumnElement} from './vaadin-grid-column.js';
import {html} from '@polymer/polymer/lib/utils/html-tag.js';
/**
* `<vaadin-grid-tree-column>` is a helper element for the `<vaadin-grid>`
* that provides default template and functionality for toggling tree/hierarchical items.
*
* #### Example:
* ```html
* <vaadin-grid items="[[items]]">
* <vaadin-grid-tree-column path="name.first"></vaadin-grid-tree-column>
*
* <vaadin-grid-column>
* ...
* ```
*/
declare class GridTreeColumnElement extends GridColumnElement {
/**
* JS Path of the property in the item used as text content for the tree toggle.
*/
path: string|null|undefined;
/**
* JS Path of the property in the item that indicates whether the item has child items.
* @attr {string} item-has-children-path
*/
itemHasChildrenPath: string|null|undefined;
}
declare global {
interface HTMLElementTagNameMap {
"vaadin-grid-tree-column": GridTreeColumnElement;
}
}
export {GridTreeColumnElement};