From d6f7eb37bd28d22bfb56176a51a558e5d71cd954 Mon Sep 17 00:00:00 2001 From: Varun Date: Mon, 16 Mar 2020 18:32:30 +0530 Subject: [PATCH] Updated & Tested with sweetalert2 9.10.1 --- sweetalert2.php | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/sweetalert2.php b/sweetalert2.php index 985ef76..cadedac 100644 --- a/sweetalert2.php +++ b/sweetalert2.php @@ -1,11 +1,9 @@ - * @version 1.0 - * @since 1.0 * @link https://github.com/varunsridharan/sweetalert2-php - * @copyright 2019 Varun Sridharan * @license GPLV3 Or Greater (https://www.gnu.org/licenses/gpl-3.0.txt) */ @@ -21,6 +19,8 @@ * @method \SweetAlert2 html( $html = null ) * @method \SweetAlert2 text( $text = null ) * @method \SweetAlert2 type( $type = null ) + * @method \SweetAlert2 icon( $icon = null ) + * @method \SweetAlert2 iconHtml( $iconHtml = null ) * @method \SweetAlert2 footer( $footer = null ) * @method \SweetAlert2 backdrop( $backdrop = true ) * @method \SweetAlert2 toast( $toast = false ) @@ -33,6 +33,7 @@ * @method \SweetAlert2 grow( $grow = false ) * @method \SweetAlert2 customClass( $customClass = array() ) * @method \SweetAlert2 timer( $timer = null ) + * @method \SweetAlert2 timerProgressBar( $timerProgressBar = null ) * @method \SweetAlert2 animation( $animation = true ) * @method \SweetAlert2 heightAuto( $heightAuto = true ) * @method \SweetAlert2 allowOutsideClick( $allowOutsideClick = true ) @@ -53,6 +54,7 @@ * @method \SweetAlert2 focusConfirm( $focusConfirm = true ) * @method \SweetAlert2 focusCancel( $focusCancel = false ) * @method \SweetAlert2 showCloseButton( $showCloseButton = false ) + * @method \SweetAlert2 closeButtonHtml( $closeButtonHtml = false ) * @method \SweetAlert2 closeButtonAriaLabel( $closeButtonAriaLabel = 'Close this dialog' ) * @method \SweetAlert2 showLoaderOnConfirm( $showLoaderOnConfirm = false ) * @method \SweetAlert2 scrollbarPadding( $scrollbarPadding = true ) @@ -74,7 +76,9 @@ * @method \SweetAlert2 onBeforeOpen( $onBeforeOpen = null ) * @method \SweetAlert2 onOpen( $onOpen = null ) * @method \SweetAlert2 onClose( $onClose = null ) + * @method \SweetAlert2 onRender( $onRender = null ) * @method \SweetAlert2 onAfterClose( $onAfterClose = null ) + * @method \SweetAlert2 onDestroy( $onDestroy = null ) * Custom Methods * @method \SweetAlert2 warning( $warning = true ) * @method \SweetAlert2 success( $success = true )