##// END OF EJS Templates
Added tag 1.0.0-rc17 for changeset a1a1ef050ecc
Added tag 1.0.0-rc17 for changeset a1a1ef050ecc

File last commit:

r2:8ec37bf1b4d1 default
r37:2e8680269302 default
Show More
TitlePane.d.ts
57 lines | 1.5 KiB | video/mp2t | TypeScriptLexer
cin
created typings for basic part of dojo and dijit further work is required to...
r2 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;