mirror of
https://github.com/tabler/tabler.git
synced 2026-10-13 21:57:00 +04:00
Fix Confetti ignoring the trigger's options when data-bs-target is set (#3195)
Co-authored-by: codecalm <codecalm@gmail.com>
This commit is contained in:
1 parent
29818fcc83
commit
d104e78947
4 files changed
+45
-2
No files matched your search
@@ -58,7 +58,7 @@ Set `data-bs-speed` to scale how fast the pieces fall. `1` is the default. A low
|
||||
|
||||
### Target
|
||||
|
||||
Point `data-bs-target` at another element to run the shower from there. The element does not change how the shower looks; it is where the events fire and where the instance is stored, so a page can listen in one place.
|
||||
Point `data-bs-target` at another element to run the shower from there. Options are still read from the trigger, so the target only changes where the events fire and where the instance is stored, letting a page listen in one place.
|
||||
|
||||
<Example centered>
|
||||
<button type="button" class="btn btn-green" data-bs-toggle="confetti" data-bs-target="#confetti-order">Place order</button>
|
||||
|
||||
Reference in new issue
Block a user