question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Default parameters

See original GitHub issue

Hello! 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:closed
  • Created 5 years ago
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
nayilscommented, Apr 11, 2019

Хах, ой, я не перевел сообщение=)) Спасибо большое за ответ, за помощь и за этот замечательный плагин, очень выручает=) Лучшей работы с диалоговыми окнами я не видел=)

1reaction
nayilscommented, Feb 19, 2019

Thank! I will wait!

And please add the option to remove the icon (from dialog, notyfy etc) =))

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found