Skip to content

Commit

Permalink
Update action settings
Browse files Browse the repository at this point in the history
  • Loading branch information
c9s committed Jun 3, 2016
1 parent dc001af commit 8ef01ea
Showing 1 changed file with 28 additions and 1 deletion.
29 changes: 28 additions & 1 deletion src/Action.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,36 @@ import assign = require("object-assign");

interface ActionSettings {

/**
* An optional gateway path for sending actions
*/
actionPath?: string;

plugins?: Array<ActionPlugin>;

confirm?: string;

disableInput?: boolean;

onSubmit? ():any;


removeRegion?: HTMLElement|JQuery;

emptyRegion?: HTMLElement|JQuery;

removeTr?: HTMLElement|JQuery;

remove?: HTMLElement|JQuery;

clear?: boolean;

fadeOut?: boolean;



onSubmit?: () => void;

onSuccess?: (resp:any) => void;

beforeSubmit?: (data:any) => boolean;

Expand All @@ -43,6 +66,10 @@ interface ActionSettings {
onUpload?: (json:any) => void;

afterUpload?: (form:any, json:any) => void;




}

export default class Action {
Expand Down

0 comments on commit 8ef01ea

Please sign in to comment.