Browse Source

无jira任务,补充pager描述

master
Guyi 4 years ago
parent
commit
320c7b6332
  1. 21
      typescript/base/pager/pager.ts
  2. 3
      typescript/index.ts

21
typescript/base/pager/pager.ts

@ -0,0 +1,21 @@
import { Widget } from "../../core/widget";
export declare class Pager extends Widget {
static xtype: string;
static EVENT_CHANGE: string;
static EVENT_AFTER_POPULATE: string;
getCurrentPage(): number;
setValue(v: number): void;
hasPrev(): boolean;
hasNext(): boolean;
setAllPages(v: number): void;
populate(): void;
}

3
typescript/index.ts

@ -163,6 +163,7 @@ import { HexColorChooserPopup } from './case/colorchooser/colorchooser.popup.hex
import { BlankIconTextItem } from './base/single/button/listitem/blankicontextitem';
import { Broadcasts, Layers } from "./base/base";
import { BroadcastController } from "./core/controller/controller.broadcast";
import { Pager } from "./base/pager/pager";
export interface BI extends _func, _i18n, _base, _inject, _var, _web, _utils {
@ -301,6 +302,7 @@ export interface BI extends _func, _i18n, _base, _inject, _var, _web, _utils {
DateInterval: typeof DateInterval;
DynamicDatePane: typeof DynamicDatePane;
AllCountPager: typeof AllCountPager;
Pager: typeof Pager;
PopupView: typeof PopupView;
BubblePopupView: typeof BubblePopupView;
BubblePopupBarView: typeof BubblePopupBarView;
@ -470,6 +472,7 @@ export {
DateInterval,
DynamicDatePane,
AllCountPager,
Pager,
PopupView,
BubblePopupView,
BubblePopupBarView,

Loading…
Cancel
Save