my: "left top",
at: "left bottom"
},
- show: "slideDown",
- hide: "fadeOut"
+ show: {
+ effect: "slideDown",
+ duration: "fast"
+ },
+ hide: {
+ effect: "fadeOut",
+ duration: "fast"
+ }
},
_create: function() {
if ( !this.options.trigger ) {
.attr( "aria-owns", this.element.attr( "id" ) );
this.element
- .addClass( "ui-popup" )
+ .addClass( "ui-popup" );
this._beforeClose();
this.element.hide();
this.close( event );
}
}
- })
+ });
},
_destroy: function() {
this.isOpen = false;
this._trigger( "close", event );
},
-
+
_beforeClose: function() {
this.element
.attr( "aria-hidden", "true" )