Skip to content

Instantly share code, notes, and snippets.

@progreccor
Last active November 7, 2019 14:47
Show Gist options
  • Save progreccor/c043b2258040ec4afe3421ccff77b82d to your computer and use it in GitHub Desktop.
Save progreccor/c043b2258040ec4afe3421ccff77b82d to your computer and use it in GitHub Desktop.
vertically center alert at uikit2
/*
Vertically center alert window on UIKIT 2
*/
UIkit.modal.alert('My message!', {
center: true
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment