devextreme
Version:
JavaScript/TypeScript Component Suite for Responsive Web Development
44 lines (39 loc) • 1.34 kB
TypeScript
/**
* DevExtreme (core/templates/template.d.ts)
* Version: 26.1.6
* Build date: Fri Oct 16 2026
*
* Copyright (c) 2012 - 2026 Developer Express Inc. ALL RIGHTS RESERVED
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
*/
import {
UserDefinedElement,
} from '../element';
import {
dxElementWrapper,
} from '../renderer';
export type {
template,
} from '../../common';
/**
*
* @deprecated Attention! This type is for internal purposes only. If you used it previously, please submit a ticket to our {@link https://supportcenter.devexpress.com/ticket/create Support Center}. We will check if there is an alternative solution.
*/
export interface dxTemplateOptions {
/**
* Specifies the name of the template.
*/
name?: string;
}
/**
* A custom template's markup.
*/
export type dxTemplate = Template;
// eslint-disable-next-line @typescript-eslint/no-extraneous-class
/**
* @deprecated Attention! This type is for internal purposes only. If you used it previously, please submit a ticket to our {@link https://supportcenter.devexpress.com/ticket/create Support Center}. We will check if there is an alternative solution.
*/
export class Template {
constructor(options?: dxTemplateOptions);
constructor(element: string | UserDefinedElement | dxElementWrapper);
}