Merge pull request #10777 from massimocode/master

Durandal - Fixes to DialogContext. See below:
This commit is contained in:
Andy
2016-09-20 06:50:44 -07:00
committed by GitHub
+6 -1
View File
@@ -690,6 +690,11 @@ declare module 'plugins/dialog' {
* @param {object} context The composition context.
*/
compositionComplete(child: HTMLElement, parent: HTMLElement, context: composition.CompositionContext): void;
/**
* Opacity of the blockout. The default is 0.6.
*/
blockoutOpacity?: number;
}
interface Dialog {
@@ -728,7 +733,7 @@ declare module 'plugins/dialog' {
* @param {string} [name] The name of the context to retrieve.
* @returns {DialogContext} True context.
*/
export function getContext(name: string): DialogContext;
export function getContext(name?: string): DialogContext;
/**
* Adds (or replaces) a dialog context.