Path : /var/www/html/jewelry-pos/vendor/twbs/bootstrap/site/layouts/shortcodes/ |
B-Con CMD Config cPanel C-Rdp D-Log Info Jump Mass Ransom Symlink vHost Zone-H |
Current File : /var/www/html/jewelry-pos/vendor/twbs/bootstrap/site/layouts/shortcodes/js-dismiss.html |
{{- /* 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> ```