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
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -88,9 +88,9 @@ You can initiate the function with javascript instead of an HTML markup in case
88
88
89
89
````javascript
90
90
$(".am-remote-link").adaptiveModal({
91
-
elementAnimateTime:100, // Define the animation time for each element to animate when the modal is openned/closed. The option accept milliseconds. The default value is 100.
92
-
customBgColor:"#333", // In case the link have no background color to derive from you can set the background color of the modal here. The option accept HEX, RGB, and RGBA The default value is "#333333".
93
-
remoteUrl:false, // You can define the remote URL here as well as the markup. The option accept generic URL. The default value is false.
91
+
elementAnimateTime:100, // Define the animation time for each element to animate when the modal is openned/closed. The option accepts milliseconds. The default value is 100.
92
+
customBgColor:"#333", // In case the link have no background color to derive from you can set the background color of the modal here. The option accepts HEX, RGB, and RGBA The default value is "#333333".
93
+
remoteUrl:false, // You can define the remote URL here as well as the markup. The option accepts generic URL. The default value is false.
94
94
elementAnimateIn:"scaleShow", // Require Animate.css extension: You can define the element inside the modal its own entrance animation by putting the Animate.css class name here. The default value is the built-in scaleShow animation.
95
95
elementAnimateOut:"scaleHide", // Require Animate.css extension: You can define the element inside the modal its own exit animation by putting the Animate.css class name here. The default value is the built-in scaleHide animation.
96
96
beforeAnimate:function(el, status) {}, // Callback function execute before the animation begins. Parameters available are el, and status which returns the jQuery object and the status of the animation, ie "open" will return when the animation is opening the modal, and vice versa, respectively.
@@ -137,7 +137,7 @@ This callback function will be called right after the animation stops. Parameter
137
137
````
138
138
139
139
## Public Methods
140
-
You can call these methods to programtically interact with the plugin:
140
+
You can call these methods to programmatically interact with the plugin:
141
141
142
142
### $.fn.openModal()
143
143
@@ -149,7 +149,7 @@ You can open the modal prgrapmatically by calling this function as shown below:
149
149
150
150
### $.fn.closeModal()
151
151
152
-
You can close the modal prgrapmatically by calling this function as shown below:
152
+
You can close the modal programmatically by calling this function as shown below:
0 commit comments