You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-3Lines changed: 6 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -41,13 +41,14 @@ C1) For Using MT.BoostrapLazyloader with modals, add **.lazyload** and **.showMo
41
41
42
42
C2) add **data-header** to define the Modal's Header.
43
43
44
-
C3) add **data-size** to define the Modal's size. (Example: data-size="modal-lg", don't set it you want default size.)
44
+
C3) add **data-size** to define the Modal's size. (Example: data-size="modal-lg", don't set it if you want default size.)
45
45
46
46
C4) If you are using lazyload modal on an Anchor element, the **href** attribute will be used as **url** and you don't need to add extra data-url.
47
47
48
48
C5) By Default the Id For lazyload modal is *"LazyloadModal"*, but you can add **id** attribute to the tag that will used to toggle modal, so the id for modal will be
49
49
Id + "Modal". with adding id to the toggle you can open multiple inner modals.
50
50
51
+
C6) **(New)** to prevent modal from closing by clicking the close button, pressing 'Esc' key or by clicking outside of the modal, you just need to add **data-closedisabled='false'**.
51
52
52
53
**Note: Modal's Markup will automatically append to body, and you don't need to add Modal's markup to body manually.**
53
54
@@ -104,5 +105,7 @@ note: If you are lazy loading your initial tab, you can add a trigger('shown.bs.
0 commit comments