File tree 1 file changed +9
-3
lines changed
1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -16,8 +16,14 @@ This is a simple HTMX element that can be used to display toasts in your web app
16
16
<button type =" button" class =" btn btn-sm btn-outline" aria-label =" Close" slot =" close" >Close</button >
17
17
</div >
18
18
</template >
19
- <htmx-toasts timeout =" 3000" class =" toast" role =" status" aria-live =" polite" error-class =" alert-error"
20
- info-class =" alert-info" warn-class =" alert-warning" ></htmx-toasts >
19
+ <htmx-toasts
20
+ timeout =" 3000"
21
+ class =" toast"
22
+ role =" status"
23
+ aria-live =" polite"
24
+ error-class =" alert-error"
25
+ info-class =" alert-info"
26
+ warn-class =" alert-warning" ></htmx-toasts >
21
27
```
22
28
23
29
## Attributes
@@ -30,7 +36,7 @@ This is a simple HTMX element that can be used to display toasts in your web app
30
36
## Installation
31
37
32
38
``` bash
33
- npm install @htmx/template-element
39
+ npm install @htmx/htmx-toast
34
40
```
35
41
36
42
Use as a module in your application:
You can’t perform that action at this time.
0 commit comments