v3.2.0
-
Added:
Notiflix.Confirm.*
module: The.prompt()
method has been added. (#42)Notiflix.Confirm.prompt()
method works similarly aswindow.prompt()
. The client doesn't have to type a correct answer to the input element to proceed unlike theNotiflix.Confirm.ask()
method. The client answer passes to the callback functions as a parameter and this parameter is always astring
.
-
Added:
Notiflix.Loading.*
module: ThecustomSvgCode
option has been added forNotiflix.Loading.custom();
method. The default isnull
. A text-based (string
) SVG icon can be set to this option. Single quotation marks should be avoided. -
Fixed:
index.d.ts
:IConfirmOptions
interface:zindex
property type has been fixed. -
Removed:
index.d.ts
: Following types have been removed:TNotiflixCallback
TNotifyCallbackOrOptions
TReportCallbackOrOptions
TLoadingMessageOrOptions
TBlockMessageOrOptions
TBlockSelectorOrHTMLElements
-
Added:
index.d.ts
: Namespaces, Functions, and Interfaces: Comments have been added for IntelliSense. -
Changed: Code Review/Refactor.