Files
NativeScript/ui/tool-bar/tool-bar.d.ts
Vladimir Enchev f2e614b664 initial commit
2015-03-26 17:32:23 +02:00

32 lines
797 B
TypeScript

/**
* Contains the ToolBar class, which represents a ToolBar component.
*/
declare module "ui/tool-bar" {
import view = require("ui/core/view");
import dependencyObservable = require("ui/core/dependency-observable");
/**
* Represents a ToolBar item.
*/
interface ToolBarItem {
/**
* Gets or sets the title of the ToolBar.
*/
view: view.View;
}
/**
* Represents a UI ToolBar component.
*/
export class ToolBar extends view.View {
/**
* Gets or sets the items of the ToolBar.
*/
items: Array<ToolBarItem>;
/**
* Gets or sets the items dependency property of the ToolBar.
*/
public static itemsProperty: dependencyObservable.Property;
}
}