Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasJang committed Apr 3, 2016
1 parent 31d6135 commit 8278226
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion API.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,4 +137,19 @@ modal.align({left:"left", top:"top", margin: 20});
- - -

## close()
`close()`
`close()`

- - -

## onStateChanged

Type: `Function`

`onStateChanged` function can be defined in setConfig method or new ax5.ui.modal initialization method.
However, you can us to define an event function after initialization, if necessary

```js
modal.onStateChanged = function(){
console.log(this);
}
```

0 comments on commit 8278226

Please sign in to comment.