Is there a way to send a click to multiple entities, to run animations in parallel? #1694
-
For example, consider ---
layout: two-cols-header
---
# Test Slide
::left::
````md magic-move
```python
def foo():
...
```
```python
def foo():
print("hello")
```
```python
def foo():
print("hello, world!")
```
````
::right::
````md magic-move
```rust
fn foo() {
}
```
```rust
fn foo() {
println!("hello");
}
```
```rust
fn foo() {
println!("hello, world!");
}
```
```` At the moment, multiple magic-move blocks are activated serially, rather than in parallel. So I have to click through the left side's animation first, before the right side will receive clicks and move on from its initial state. Instead, I'd like to find a way to synchronise them so that they progress their animations together, both changing to their next state on each click. Is there a way to direct single clicks to multiple objects? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Actually, let's take this a step back - what about just two simple columns with separate
Let's imagine I want Item 1 and Item 4 to appear together on first click, then Item 2 and Item 5 to appear on second click, and finally Item 3 and Item 6 to appear on third click. Is this possible? |
Beta Was this translation helpful? Give feedback.
-
I think the |
Beta Was this translation helpful? Give feedback.
I think the
at
option is what you need. See https://sli.dev/guide/animations#positioning