mazipan / vue2-simplert

⚠️ Vue 2 Simple Alert Component (SweetAlert Inspired)

Home Page:https://vue2-simplert.gitbook.io/docs/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Close button custom title

alexTitakoff opened this issue · comments

Hello!

Can I define a custom label on a close button?

For now you can't.
But if worth, maybe we can try to develop it.
I also open for any Pull Request if you want.

ok, I will try ;)

I find the solution.
In template of code exist property - {{ customCloseBtnText }}.
that's what I need.

let obj = {  
          title: 'Предложения успешно отправлены!',
//          message: 'Мы успешно обработали',
          customCloseBtnText: 'lallaa',
          type: 'success',
}

Oh, I think you mean custom close X button. 😂