Default parameters
See original GitHub issueHello! I have a big project. It is not convenient to manually set parameters each time (position, duration, etc.). Can you add the ability to set default parameters when initializing vuetify-dialog?
For example:
import VuetifyDialog from 'vuetify-dialog';
Vue.use(VuetifyDialog, {
'notify': {
'timeout': 1000
},
'dialog': {
icon: '',
actions: ['ОК']
}
});
Issue Analytics
- State:
- Created 5 years ago
- Comments:10 (5 by maintainers)
Top Results From Across the Web
Default parameters - JavaScript - MDN Web Docs
Default function parameters allow named parameters to be initialized with default values if no value or undefined is passed.
Read more >How To Set Default Parameter Values for JavaScript Functions
Default Parameters. If a function in JavaScript is called with missing arguments (less than declared), the missing values are set to undefined ....
Read more >Default Arguments in C++ - GeeksforGeeks
A default argument is a value provided in a function declaration that is automatically assigned by the compiler if the calling function ...
Read more >The Beginner's Guide to JavaScript Default Parameters
In JavaScript, default function parameters allow you to initialize named parameters with default values if no values or undefined are passed into the...
Read more >Default arguments - cppreference.com
Allows a function to be called without providing one or more trailing arguments. Indicated by using the following syntax for a parameter in...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Хах, ой, я не перевел сообщение=)) Спасибо большое за ответ, за помощь и за этот замечательный плагин, очень выручает=) Лучшей работы с диалоговыми окнами я не видел=)
Thank! I will wait!
And please add the option to remove the icon (from dialog, notyfy etc) =))