Changeset 3149903
- Timestamp:
- 09/11/2024 08:57:12 AM (18 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fsdpcfl-contact-form-lazyload/tags/2.0.0/README.txt
r3149901 r3149903 16 16 17 17 Example code: 18 `` `18 `` 19 19 [lazy-contact-form-7 id="ID form" title="Title form" root-margin="0px" no-observer="false"] 20 20 ``` 21 21 22 ```` 23 ``` 24 root-margin="0px" 25 ``` 26 ```` 22 = root-margin="0px" = 23 27 24 **root-margin="0px"** sets the size of the base margin, allowing the form to load sooner or later. Root-margin can be set in several ways: 28 25 - root-margin supports units such as px and %. … … 31 28 - *root-margin: 20px 50px 20px* - the form will load with margins of 20px on top, 50px on the sides, and 20px on the bottom. 32 29 33 `` 34 no-observer="true" 35 `` 30 = no-observer="true" = 31 36 32 **no-observer="true"** Is a solution aimed at developers who want to have control over exactly when the form is loaded. Setting this option to true will prevent the form from loading automatically on the page, and you will need to manually change the *data-fsdpcfl-src* attribute to *src* using JavaScript. 37 33
Note: See TracChangeset
for help on using the changeset viewer.