Closed anmdotdev closed 5 years ago
Ability to hide the toast immediately on click. hide function passed as a param in onClick.
hide
onClick
cogoToast.success('This is a success message.', { onClick: (hide) => { hide(); }, });
Ability to hide the toast immediately on click.
hide
function passed as a param inonClick
.