diff --git a/docs-src/docs/index.md b/docs-src/docs/index.md index b02dfa5c..cf200f99 100644 --- a/docs-src/docs/index.md +++ b/docs-src/docs/index.md @@ -207,6 +207,8 @@ layout: docs ```js swal({ content: "input", + }).then(result=>{ + swal("Your text:",result); }); ``` @@ -220,6 +222,8 @@ layout: docs type: "password", }, }, + }).then(password=>{ + swal("Your password:",password); }); ```