Comments (9)
Agreed. 5 months for a large feature missing such as HTML, or showConfirmButton... I've used this on a project and really appreciate it, but maybe this should be simplified to relying on SWAL and only tweaks for style.
from bootstrap-sweetalert.
I tried to merge the two.. but it's been a while and it's kind very outdated :/
from bootstrap-sweetalert.
It happens :)
I'd updated the readme to state that though, specifically the stable features in SA that aren't present here. It's by no means a bad code base you made, it's good. But maybe just let people know there are definitely some differences at this point.
:)
from bootstrap-sweetalert.
When are you guys going to merge? I'd like to use html: true
soon.
from bootstrap-sweetalert.
Not to speak out of turn but your best option might be to use the standard
SWAL and overwrite what you need via CSS.
Or write your own JS to coat tail SWAL.
The danger of this library is that it mimics, not overlays, the original
SWAL code. So it's possible for it to fall behind easily.
Or you can update it and put in a merge request, offer the author a
donation, etc so there's incentive to get it up to date.
On Friday, April 10, 2015, Richard Lai [email protected] wrote:
When are you guys going to merge? I'd like to use html: true soon.
—
Reply to this email directly or view it on GitHub
#25 (comment)
.
-- Mike Minor
pixelbacon.com
from bootstrap-sweetalert.
Okay no problem.
from bootstrap-sweetalert.
yes.. I tried to update it.. but failed miserably... I don't have much time at the moment..so anyone who is willing to update would be nice :)
from bootstrap-sweetalert.
For now, this hack works:
swal({ // as usual
//etc.
html: allowHtml,
//etc.
});
if (allowHtml) {
var txt = $(".sweet-alert p.lead").text(); // get text, which is escaped
txt = $("<textarea/>").html(txt).text(); // unescape the text
$(".sweet-alert p.lead").html(txt); // put it back in
}
And then you get HTML text. Can do the same for HTML title.
from bootstrap-sweetalert.
The merge with the main project has been completed. html
and showConfirmButton
options are now available
from bootstrap-sweetalert.
Related Issues (20)
- Unknown alert type: input
- Text clipping in title HOT 4
- location.reload(true) not working after timer is expired HOT 1
- Callback cancel is missing HOT 1
- Using with select input HOT 1
- swal.queeu Error
- Please help me to slove more question!
- redirect to another page HOT 1
- a third choice option
- Unable to show Alert Message
- Cannot read property 'parentNode' of null
- How to save sweet alert prompt in a js variable HOT 1
- Can you update the sweetalert version? HOT 9
- Error message is showing the default Input box and error message
- ICON COLOR
- Focus on Cancel Button on opening alert
- support of commonjs?
- The sweetalerts are not closing , and giving a TypeError value of undefined?
- Replacing Plain Javascript with better looking SweetAlert in PHP Form
- Prompt w/ Sweet Alert into Variable? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bootstrap-sweetalert.