New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Icons and fonts in cn #1
Comments
//call a custom type message alert dialog with dialog close callback
this.$vDialog.alert('This is a <b>Vue</b> dialog plugin: vDialog!',function(){
//your callback code
},{
messageType: 'error',
closeTime: 2,// auto close alert dialog in 2 second,
language: 'en'// i18n support 'cn', 'en', 'jp'
}); |
Thanks
…On Fri, Jun 22, 2018 at 8:16 PM, Terry Zeng ***@***.***> wrote:
//call a custom type message alert dialog with dialog close callbackthis.$vDialog.alert('This is a <b>Vue</b> dialog plugin: vDialog!',function(){
//your callback code
},{
messageType: 'error',
closeTime: 2,// auto close alert dialog in 2 second,
language: 'en'// i18n support 'cn', 'en', 'jp'
});
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#1 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ANGc9pQGYaDPHAdBsR6u_eOhDAWhaPdvks5t_bL5gaJpZM4U0gnj>
.
--
Join me on Vsee video chat. It is free <http://vsee.com/u/lpva1m>
|
Hi Terry,
Great plugin.
Would it be a good idea to set the lang when instantiating the plugin like
Vue.use(vDialog,{lang:'en'})
Is there a way to suppress the vDialog that shows at the top left in the
top bar when presenting a component and since we are asking it would be
nice to be able to customize the top bar with a text, an icon and a color..
Again, congratulations, a great plugin
…On Fri, Jun 22, 2018 at 10:05 PM, luis guerra ***@***.***> wrote:
Thanks
On Fri, Jun 22, 2018 at 8:16 PM, Terry Zeng ***@***.***>
wrote:
> //call a custom type message alert dialog with dialog close callbackthis.$vDialog.alert('This is a <b>Vue</b> dialog plugin: vDialog!',function(){
> //your callback code
> },{
> messageType: 'error',
> closeTime: 2,// auto close alert dialog in 2 second,
> language: 'en'// i18n support 'cn', 'en', 'jp'
> });
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <#1 (comment)>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/ANGc9pQGYaDPHAdBsR6u_eOhDAWhaPdvks5t_bL5gaJpZM4U0gnj>
> .
>
--
Join me on Vsee video chat. It is free <http://vsee.com/u/lpva1m>
--
Join me on Vsee video chat. It is free <http://vsee.com/u/lpva1m>
|
Thanks for you suggestion the global language config will be add in next version. in the set example: import page from './Page.vue';
//call a custom type message alert dialog with dialog close callback
this.$vDialog.modal(page, {
width: 500,
height: 450,
//when inner component call $vDialog.close({data}) to close modal
//callback will receive the return data
callback: function(data){
console.log(data);//{userFullName: 'TerryZeng'}
}
//send params to inner component
//in the component, set props 'params' to get parameter
params: {
userName: 'Terry'
},
language: 'en'// i18n support 'cn', 'en', 'jp'
}); |
Can we make it responsive by passing a width option as string like '300px'
or '60%' or '70vw' ?
…On Sat, Jun 23, 2018 at 10:25 AM, Terry Zeng ***@***.***> wrote:
Thanks for you suggestion
the global language config will be add in next version.
in the Modal mode, the header bar title default is 'vDialog'. when your
open custom Modal dialog, set 'title' option to modify
set 'title' : false to close header bar
example:
import page from './Page.vue';//call a custom type message alert dialog with dialog close callbackthis.$vDialog.modal(page, {
width: 500,
height: 450,
//when inner component call $vDialog.close({data}) to close modal
//callback will receive the return data
callback: function(data){
console.log(data);//{userFullName: 'TerryZeng'}
}
//send params to inner component
//in the component, set props 'params' to get parameter
params: {
userName: 'Terry'
},
language: 'en'// i18n support 'cn', 'en', 'jp'
});
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#1 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ANGc9uv5HNqwNMtG3ItGyGyPgjC0b4spks5t_noGgaJpZM4U0gnj>
.
--
Join me on Vsee video chat. It is free <http://vsee.com/u/lpva1m>
|
sorry, |
Idea for next version, no hurry
…On Sun, Jun 24, 2018 at 2:50 AM, Terry Zeng ***@***.***> wrote:
sorry, width and height just pixel
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#1 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ANGc9gy7Bf5joeNKlTug_JBrwJm54BQtks5t_2EAgaJpZM4U0gnj>
.
--
Join me on Vsee video chat. It is free <http://vsee.com/u/lpva1m>
|
Hi Terry,
Your v-dialog is meeting all my expectations.
I am using it for instance to present full page components without any
problem.
Where can I tweak your code so that the modal slides up from the bottom,
like the modals in iOS? Can you do it for me?
Thanks,
Great component!
thanks
Luis guerra
…On Sun, Jun 24, 2018 at 8:40 AM luis guerra ***@***.***> wrote:
Idea for next version, no hurry
On Sun, Jun 24, 2018 at 2:50 AM, Terry Zeng ***@***.***>
wrote:
> sorry, width and height just pixel
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <#1 (comment)>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/ANGc9gy7Bf5joeNKlTug_JBrwJm54BQtks5t_2EAgaJpZM4U0gnj>
> .
>
--
Join me on Vsee video chat. It is free <http://vsee.com/u/lpva1m>
--
Join me on Vsee video chat. It is free <http://vsee.com/u/lpva1m>
|
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
How do I set the language to en instead of cn?
The text was updated successfully, but these errors were encountered: