Skip to content

Commit

Permalink
Update dist files
Browse files Browse the repository at this point in the history
  • Loading branch information
mattmazzola committed Jul 7, 2016
1 parent 6d39885 commit 65a19b7
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dist/embed.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export interface IInternalEmbedConfiguration extends models.ILoadConfiguration {
}
export interface IInternalEventHandler<T> {
test(event: service.IEvent<T>): boolean;
handle(event: service.IEvent<T>): void;
handle(event: service.ICustomEvent<T>): void;
}
export declare abstract class Embed {
static allowedEvents: string[];
Expand Down
2 changes: 1 addition & 1 deletion dist/powerbi.js.map

Large diffs are not rendered by default.

7 changes: 5 additions & 2 deletions dist/service.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,11 @@ export interface IEvent<T> {
name: string;
value: T;
}
export interface ICustomEvent<T> extends CustomEvent {
detail: T;
}
export interface IEventHandler<T> {
(event: IEvent<T>): any;
(event: ICustomEvent<T>): any;
}
export interface IHpmFactory {
(wpmp: wpmp.WindowPostMessageProxy, targetWindow?: Window, version?: string, type?: string, origin?: string): hpm.HttpPostMessage;
Expand Down Expand Up @@ -98,7 +101,7 @@ export declare class Service {
/**
* Given an event object, find embed with matching type and id and invoke its handleEvent method with event.
*/
handleEvent(event: IEvent<any>): void;
private handleEvent(event);
/**
* Translate target into url
* Target may be to the whole report, speific page, or specific visual
Expand Down

0 comments on commit 65a19b7

Please sign in to comment.