Skip to content

Commit

Permalink
add events type
Browse files Browse the repository at this point in the history
  • Loading branch information
onokumus committed Sep 9, 2018
1 parent 830bdee commit f514a14
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions dist/types/constants.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ export declare const Selector: {
DATA_TOGGLE: string;
};
export declare const OcDefault: IOCDefault;
export declare type OnoffCanvasEvents = "show.onoffcanvas" | "hide.onoffcanvas";
2 changes: 2 additions & 0 deletions src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,5 @@ export const OcDefault: IOCDefault = {
createDrawer: true,
hideByEsc: true
};

export type OnoffCanvasEvents = "show.onoffcanvas" | "hide.onoffcanvas";

0 comments on commit f514a14

Please sign in to comment.