You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**<spanclass="text-indigo-900">PHP<spanclass="text-indigo-500">Flasher</span></span>** includes a default notification style <iclass="fa-duotone fa-comment-captions text-yellow-600"></i>, but users can also install additional adapters to customize the appearance of notifications within their projects such as :
These four methods (`addSuccess`, `addError`, `addWarning`, `addInfo`) are simply convenience shortcuts for the `addFlash` method,
107
-
allowing you to specify the `type` and `message` in a single method call rather than having to pass both as separate arguments to the `addFlash` method.
106
+
These four methods `addSuccess()`, `addError()`, `addWarning()`, `addInfo()` are simply convenience shortcuts for the `addFlash()` method,
107
+
allowing you to specify the `type` and `message` in a single method call rather than having to pass both as separate arguments to the `addFlash()` method.
Sometimes you may want a flash message to persist for longer than a single request. As an example, with a multi-page form, you may want to store messages until all pages have been filled.
229
229
230
-
{% assign id = '# usage hops' %}
230
+
{% assign id = '#/ usage hops' %}
231
231
{% assign type = site.data.messages.types | sample %}
<spanclass="text-indigo-900">[__notyf__](/library/notyf/)</span> and even show <spanclass="text-indigo-900">__desktop__</span> notifications.
69
69
70
70
You have a wide range of options to choose from to suit your specific needs. Whether you want to display simple toast messages or more sophisticated alerts,
71
71
**<spanclass="text-indigo-900">PHP<spanclass="text-indigo-500">Flasher</span></span>** has you covered.
@@ -87,9 +87,9 @@ Give it a try and see the difference it can make for yourself!
87
87
88
88
## <iclass="fa-duotone fa-list-radio"></i> Getting Started
0 commit comments