Update input component and toast position

This commit is contained in:
Andras Bacsai
2024-03-22 13:09:02 +01:00
parent 66fe124dd1
commit 2f50f64ecf
4 changed files with 6 additions and 4 deletions

View File

@@ -13,7 +13,7 @@
}" x-init="window.toast = function(message, options = {}) {
let description = '';
let type = 'default';
let position = 'bottom-right';
let position = 'top-center';
let html = '';
if (typeof options.description != 'undefined') description = options.description;
if (typeof options.type != 'undefined') type = options.type;