Add more theme stuff, add a smidge of content

This commit is contained in:
2024-08-08 11:07:08 -04:00
parent 80c987ca91
commit e6340a906b
1138 changed files with 194811 additions and 5 deletions

View File

@@ -0,0 +1,15 @@
{{- /* Usage: js-dismiss "ComponentName" */ -}}
{{- $name := .Get 0 -}}
Dismissal can be achieved with the `data-bs-dismiss` attribute on a button **within the {{ $name }}** as demonstrated below:
```html
<button type="button" class="btn-close" data-bs-dismiss="{{ $name }}" aria-label="Close"></button>
```
or on a button **outside the {{ $name }}** using the additional `data-bs-target` as demonstrated below:
```html
<button type="button" class="btn-close" data-bs-dismiss="{{ $name }}" data-bs-target="#my-{{ $name }}" aria-label="Close"></button>
```