| Name | + *Parameter | + *Description | + *
|---|---|---|
show.uk.modal |
+ * event | + *On modal show | + *
hide.uk.modal |
+ * event | + *On modal hide | + *
+ * $('.modalSelector').on({
+ *
+ * 'show.uk.modal': function(){
+ * console.log("Modal is visible.");
+ * },
+ *
+ * 'hide.uk.modal': function(){
+ * console.log("Element is not visible.");
+ * }
+ * });
+ *
+ */
+ interface Modal {
+ /**
+ * Create a alert dialog
+ * @param {string} message The message to display. Can be Html
+ */
+ alert(message:string): void
+ /**
+ * Create a confirm dialog and execute the function on positive confirmation
+ * @param {string} message The message to display. Can be Html
+ * @param {function} fn A function to execute on confirmation
+ */
+ confirm(message:string, fn:() => any): void
+ /**
+ * Create a prompt dialog, where the user enter information
+ * @param {string} message The message to display. Can be Html
+ * @param {function} fn A function to execute on confirmation. The function
+ * receive the new value as a parameter
+ */
+ prompt(message:string, fn:(newValue:string) => any): void
+ /**
+ * Create a prompt dialog, where the user enter information
+ * @param {string} message The message to display. Can be Html
+ * @param {string} value A value to init the input
+ * @param {function} fn A function to execute on confirmation. The function
+ * receive the new value as a parameter
+ */
+ prompt(message:string, value:string, fn:(newValue:string) => any): void
+ /**
+ * Create a modal that blocks the entire page
+ * @param {string} content A content to display. Can be Html
+ */
+ blockUI(content:string): ModalElement
+ /**
+ * Select a modal element on page and return it.
+ * @example
+ *
+ * var modal = UIkit.modal(".modalSelector");
+ *
+ * if ( modal.isActive() ) {
+ * modal.hide();
+ * } else {
+ * modal.show();
+ * }
+ *
+ */
+ (selector:string|JQuery): ModalElement
+ }
+ /**
+ * Create a smooth off-canvas sidebar that slides in and out of the page
+ * Documentation: {@link http://getuikit.org/docs/offcanvas.html}
+ * | Name | + *Parameter | + *Description | + *
|---|---|---|
show.uk.offcanvas |
+ * event, panel, bar | + *On offcanvas show | + *
hide.uk.offcanvas |
+ * event, panel, bar | + *On offcanvas hide | + *
| Name | + *Parameter | + *Description | + *
|---|---|---|
showitem.uk.lightbox |
+ * event, data | + *On lightbox show | + *
| Name | + *Parameter | + *Description | + *
|---|---|---|
selectitem.uk.autocomplete |
+ * event, data, acobject | + *On item selected | + *
show.uk.autocomplete |
+ * event | + *On autocomplete dropdown show | + *
| Name | + *Parameter | + *Description | + *
|---|---|---|
show.uk.datepicker |
+ * event | + *On datepicker dropdown show | + *
hide.uk.datepicker |
+ * event | + *On datepicker dropdown hide | + *
update.uk.datepicker |
+ * event | + *On calendar rendering | + *
| Name | + *Parameter | + *Description | + *
|---|---|---|
focusitem.uk.slider |
+ * event, index, item | + *On item focus | + *
| Name | + *Parameter | + *Description | + *
|---|---|---|
show.uk.slideset |
+ * event, set | + *On set show | + *
| Name | + *Parameter | + *Description | + *
|---|---|---|
show.uk.slideshow |
+ * event, next slide | + *On showing a new slide (after animation is finished) | + *
| Name | + *Parameter | + *Description | + *
|---|---|---|
toggle.uk.accordion |
+ * event, active, toggle, content | + *On item toggle | + *
<html> when moving
+ * @default uk-nestable-moving
+ * | Name | + *Parameter | + *Description | + *
|---|---|---|
start.uk.nestable |
+ * event, nestable object | + *On nestable drag start | + *
move.uk.nestable |
+ * event, nestable object | + *On nestable move item | + *
stop.uk.nestable |
+ * event, nestable object | + *On nestable stop dragging | + *
change.uk.nestable |
+ * event, sortable object, dragged element, action | + *On nestable change item | + *
| Name | + *Parameter | + *Description | + *
|---|---|---|
start.uk.sortable |
+ * event, sortable object, dragged element | + *On sortable drag start | + *
move.uk.sortable |
+ * event, sortable object | + *On sortable move item | + *
stop.uk.sortable |
+ * event, sortable object, dragged element | + *On sortable stop dragging | + *
change.uk.sortable |
+ * event, sortable object, dragged element, action | + *On sortable change item | + *
true to bind sticky to the parent or a Css selector to bind sticky to a specific element.
+ * @default false
+ * | Name | + *Parameter | + *Description | + *
|---|---|---|
active.uk.sticky |
+ * event | + *Element getting sticky | + *
inactive.uk.sticky |
+ * event | + *Element leaving sticky mode | + *
| Name | + *Parameter | + *
|---|---|
before |
+ * settings, files | + *
beforeAll |
+ * files | + *
beforeSend |
+ * xhr | + *
progress |
+ * percent | + *
complete |
+ * response, xhr | + *
allcomplete |
+ * response, xhr | + *
notallowed |
+ * file, settings | + *
loadstart |
+ * event | + *
load |
+ * event | + *
loadend |
+ * event | + *
error |
+ * event | + *
abort |
+ * event | + *
readystatechange |
+ * event | + *