Skip to content

Commit

Permalink
Update TS declarations (#5835)
Browse files Browse the repository at this point in the history
  • Loading branch information
San4es authored Oct 18, 2018
1 parent 6de21d0 commit bad3048
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion ts/dx.all.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1725,6 +1725,7 @@ declare module DevExpress.ui {
multiple?: boolean;
/** A function that is executed when an accordion item's title is clicked or tapped. */
onItemTitleClick?: ((e: { component?: dxAccordion, element?: DevExpress.core.dxElement, model?: any, itemData?: any, itemElement?: DevExpress.core.dxElement, itemIndex?: number, event?: event }) => any) | string;
/** Specifies whether to repaint only those elements whose data changed. */
repaintChangesOnly?: boolean;
/** The index number of the currently selected item. */
selectedIndex?: number;
Expand Down Expand Up @@ -2052,6 +2053,7 @@ declare module DevExpress.ui {
highlightChanges?: boolean;
/** Configures the load panel. */
loadPanel?: { enabled?: boolean | 'auto', text?: string, width?: number, height?: number, showIndicator?: boolean, indicatorSrc?: string, showPane?: boolean };
navigateToRow?: ((key: any) => any);
/** Specifies text shown when the widget does not display any data. */
noDataText?: string;
/** A function that is executed before an adaptive detail row is rendered. */
Expand Down Expand Up @@ -2290,7 +2292,6 @@ declare module DevExpress.ui {
isRowSelected(key: any): boolean;
/** Gets a data object's key. */
keyOf(obj: any): any;
navigateToRow(key: any): void;
/** Gets the total page count. */
pageCount(): number;
/** Gets the current page index. */
Expand Down Expand Up @@ -2578,6 +2579,7 @@ declare module DevExpress.ui {
dropDownOptions?: dxPopupOptions;
/** Specifies a custom template for the text field. Must contain the TextBox widget. */
fieldTemplate?: template | ((value: any, fieldElement: DevExpress.core.dxElement) => string | Element | JQuery);
/** Specifies whether a user can open the drop-down list by clicking a text field. */
openOnFieldClick?: boolean;
/** Specifies the DOM events after which the widget's value should be updated. */
valueChangeEvent?: string;
Expand Down Expand Up @@ -2940,6 +2942,7 @@ declare module DevExpress.ui {
pullRefreshEnabled?: boolean;
/** Specifies the text displayed in the pullDown panel while the list is being refreshed. */
refreshingText?: string;
/** Specifies whether to repaint only those elements whose data changed. */
repaintChangesOnly?: boolean;
/** A Boolean value specifying if the list is scrolled by content. */
scrollByContent?: boolean;
Expand Down Expand Up @@ -3907,6 +3910,7 @@ declare module DevExpress.ui {
fieldTemplate?: template | ((selectedItem: any, fieldElement: DevExpress.core.dxElement) => string | Element | JQuery);
/** A function that is executed when a user adds a custom item. Requires acceptCustomValue to be set to true. */
onCustomItemCreating?: ((e: { component?: T, element?: DevExpress.core.dxElement, model?: any, text?: string, customItem?: string | any | Promise<any> | JQueryPromise<any> }) => any);
/** Specifies whether a user can open the drop-down list by clicking a text field. */
openOnFieldClick?: boolean;
/** The text that is provided as a hint in the select box editor. */
placeholder?: string;
Expand Down Expand Up @@ -4024,6 +4028,7 @@ declare module DevExpress.ui {
focusStateEnabled?: boolean;
/** Specifies whether the widget changes its state when a user pauses on it. */
hoverStateEnabled?: boolean;
/** Specifies whether to repaint only those elements whose data changed. */
repaintChangesOnly?: boolean;
/** Specifies whether or not an end-user can scroll tabs by swiping. */
scrollByContent?: boolean;
Expand Down Expand Up @@ -4063,6 +4068,7 @@ declare module DevExpress.ui {
onTitleHold?: ((e: { component?: dxTabPanel, element?: DevExpress.core.dxElement, model?: any, itemData?: any, itemElement?: DevExpress.core.dxElement, event?: event }) => any);
/** A function that is executed after a tab is rendered. */
onTitleRendered?: ((e: { component?: dxTabPanel, element?: DevExpress.core.dxElement, model?: any, itemData?: any, itemElement?: DevExpress.core.dxElement }) => any);
repaintChangesOnly?: boolean;
/** A Boolean value specifying if tabs in the title are scrolled by content. */
scrollByContent?: boolean;
/** A Boolean indicating whether or not to add scrolling support for tabs in the title. */
Expand Down Expand Up @@ -4796,6 +4802,7 @@ declare module DevExpress.ui {
onOpened?: ((e: { component?: T, element?: DevExpress.core.dxElement, model?: any }) => any);
/** Specifies whether or not the drop-down editor is displayed. */
opened?: boolean;
/** Specifies whether a user can open the drop-down list by clicking a text field. */
openOnFieldClick?: boolean;
/** Specifies whether the drop-down button is visible. */
showDropDownButton?: boolean;
Expand Down

0 comments on commit bad3048

Please sign in to comment.