Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
konutis authored Mar 17, 2019
1 parent 9d48d45 commit 42c1c01
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,16 @@
## Elements:
- proScrollToTopButton
- proHeading
- proModalBox


## Additional element usage
### proModalBox
After adding this element you will not see it because it is hidden by default. There is parameter "Open modal element selector" which you have to use to find the element which will trigger opening the Modal Box. Selector will be used via Javascript as a "querySelectorAll".
Basic example to make it work:
1. Add Pro Modal Box
2. Copy 'pro-modal-box-1' from selector parameter within "selector" parameter
3. Add Basic Button (it could be any other button)
4. Paste the className in the Basic Buttons parameter - "Extra class name"
5. Click on the button and you should see the Modal Box
You can use more buttons to open the same Modal Box.

0 comments on commit 42c1c01

Please sign in to comment.