##// END OF EJS Templates
Added tag v1.1.0 for changeset 1a0018655d1c
Added tag v1.1.0 for changeset 1a0018655d1c

File last commit:

r2:8ec37bf1b4d1 default
r64:3f27d1084ced default
Show More
TitlePane.d.ts
57 lines | 1.5 KiB | video/mp2t | TypeScriptLexer
import ContentPane = require("./layout/ContentPane");
import _TemplatedMixin = require("./_TemplatedMixin");
import _CssStateMixin = require("./_CssStateMixin");
import { _WidgetBaseConstructor } from "./_WidgetBase";
interface TitlePane extends ContentPane, _TemplatedMixin, _CssStateMixin {
/**
* Whether pane can be opened or closed by clicking the title bar.
*/
toggleable: boolean;
/**
* Tabindex setting for the title (so users can tab to the title then use space/enter to open/close the title pane)
*/
tabIndex: string;
/**
* Time in milliseconds to fade in/fade out
*/
duration: number;
/**
* Don't change this parameter from the default value.
*
* This ContentPane parameter doesn't make sense for TitlePane, since TitlePane is never a child of a layout container, nor should TitlePane try to control the size of an inner widget.
*/
doLayout: boolean;
/**
* Switches between opened and closed state
*/
toggle(): void;
/**
* Set the open/close css state for the TitlePane
*/
_setCss(): void;
/**
* Handler for when user hits a key
*/
_onTitleKey(e: Event): void;
/**
* Handler when user clicks the title bar
*/
_onTitleClick(): void;
/**
* Deprecated. Use set('title', ...) instead.
*/
setTitle(): void;
}
interface TitlePaneConstructor extends _WidgetBaseConstructor<TitlePane> { }
declare const TitlePane: TitlePaneConstructor;
export = TitlePane;