Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update documentation.md #1187

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions website/documentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -513,6 +513,8 @@ If set to `true` lightbox is opened if the user clicked on the middle mouse butt

String that contains classes that will be added to the root element of popup wrapper and to dark overlay. For example `"myClass"`, can also contain multiple classes - `'myClassOne myClassTwo'`.

It is common to add `mfp-img-mobile` as a class using `mainClass`. This automatically triggers CSS when a device's screen is in landscape mode, or otherwise has a small height, and lets images fill the full height of those screens, pushing padding and text out of the way. When the device's screen is not in landscape and has a normal height the class has no effect.

### preloader

<code class="def">true</code>
Expand Down