Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasJang committed Jun 6, 2016
1 parent 8a9884c commit b79f697
Show file tree
Hide file tree
Showing 11 changed files with 879 additions and 222 deletions.
51 changes: 50 additions & 1 deletion API.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,17 @@ myModal.set_config({
onStateChanged: "Function",
animateTime: "Number",
zIndex: "Number",
fullScreen: "Boolean"
fullScreen: "Boolean",
header: {
title: "",
btns: {
close: {
label: '<i class="fa fa-times-circle" aria-hidden="true"></i>', onClick: function(){
myModal.close();
}
}
}
}
});
```

Expand Down Expand Up @@ -97,6 +107,33 @@ Type: `Boolean`
fullScreen : true
```

### header

Type: `Object'

```json
{
title:"MODAL TITLE",
btns: {
minimize: {
label: '<i class="fa fa-minus-circle" aria-hidden="true"></i>', onClick: function(){
modal.minimize();
}
},
maximize: {
label: '<i class="fa fa-plus-circle" aria-hidden="true"></i>', onClick: function(){
modal.maximize();
}
},
close: {
label: '<i class="fa fa-times-circle" aria-hidden="true"></i>', onClick: function(){
modal.close();
}
}
}
}
```

- - -

## open()
Expand Down Expand Up @@ -142,6 +179,18 @@ modal.align({left:"left", top:"top", margin: 20});
## close()
`close()`


- - -

## minimize()
`minimize()`


- - -

## maximize()
`maximize()`

- - -

## onStateChanged
Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ax5ui-modal",
"version": "0.5.6",
"version": "0.6.0",
"authors": [
"ThomasJ <[email protected]>"
],
Expand Down
2 changes: 1 addition & 1 deletion dist/ax5modal.css

Large diffs are not rendered by default.

Loading

0 comments on commit b79f697

Please sign in to comment.