Skip to content

Commit affbae2

Browse files
author
Adiatma Kamarudin
authoredNov 5, 2017
Merge pull request #8 from tutorjs/develop
MODIFIED: update readme
2 parents 9a1752a + ab9b252 commit affbae2

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed
 

‎README.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,11 @@ https://rawgit.com/tutorjs/simple-modal/master/src/js/simple-modal.js
6262
new SimpleModal({
6363
modal: '.your-modal-selector', // root class selector
6464
content: '.your-modal-content-selector', // children of modal
65-
trigger: '.your-trigger-selector' // button action
65+
trigger: '.your-trigger-selector', // button action
66+
width: 800, // optional but default 400px
67+
background: '#f2f2f2', // optional by default #fff
6668
})
6769

6870
```
6971

70-
7172
Thanks.

0 commit comments

Comments
 (0)