Skip to content

Commit d97b1b8

Browse files
committed
Fixed popup event names
Removed "popup" that was prefixed to the event names.
1 parent a8682a5 commit d97b1b8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

entries/popup.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -513,7 +513,7 @@ $( ".selector" ).popup({ theme: "a" });
513513
</option>
514514
</options>
515515
<events>
516-
<event name="popupbeforeposition" type="popupbeforeposition">
516+
<event name="beforeposition" type="popupbeforeposition">
517517
<desc><p>Triggered after a popup has completed preparations for opening, but has not yet opened</p>
518518
<pre><code>
519519
$( ".selector" ).bind({
@@ -523,7 +523,7 @@ $( ".selector" ).bind({
523523
<p>This event is triggered when the popup has completed preparations for appearing on the screen. At this point the popup has not started the animations and it has not yet calculated the coordinates where it will appear on the screen. Handling this event gives an opportunity to modify the content of the popup before it appears on the screen. For example, the content can be scaled or parts of it can be hidden or removed if it is too wide or too tall.</p>
524524
</desc>
525525
</event>
526-
<event name="popupafteropen" type="popupafteropen">
526+
<event name="afteropen" type="popupafteropen">
527527
<desc><p>Triggered after a popup has completely opened</p>
528528
<pre><code>
529529
$( ".selector" ).bind({
@@ -533,7 +533,7 @@ $( ".selector" ).bind({
533533
<p>This event is triggered when the popup has completely appeared on the screen, meaning that all associated animations have completed.</p>
534534
</desc>
535535
</event>
536-
<event name="popupafterclose" type="popupafterclose">
536+
<event name="afterclose" type="popupafterclose">
537537
<desc><p>Triggered when a popup has completely closed</p>
538538
<pre><code>
539539
$( ".selector" ).bind({

0 commit comments

Comments
 (0)