Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SVG and auto-animate #2846

Closed
galleon opened this issue Nov 18, 2020 · 1 comment
Closed

SVG and auto-animate #2846

galleon opened this issue Nov 18, 2020 · 1 comment

Comments

@galleon
Copy link

galleon commented Nov 18, 2020

Hi,

First a big thank you to Ahkim and the developers for that great tool! Now the question ...

I have 2 slides that I want to animate. Here is the structure of the slides:

<section>
        <svg viewBox="0 0 900 720" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
          <g>
            <defs>
              <pattern id="money" patternUnits="userSpaceOnUse" x="150" y="260" width="150" height="100">
                <image x="0" y="0" width="150" height="100" xlink:href="img/WealthyFrog.png"></image>
              </pattern>
            </defs>
            <rect id='1' x="150" y="260" width="150" height="100" rx="10 ry=" 10" fill="url(#money)" />
          </g>
          <g>
               ... Repeat groups 3 times more with different images
         </g>
</section>

My second slide as a similar pattern (with one group more ... one being duplicated)

I have tried to name each of the groups with `data-id="box"` added `data-auto-animate`in the section but nothing happen.

Is it possible to use that inside <svg>?
@galleon
Copy link
Author

galleon commented Nov 18, 2020

Thanks ... but I have solved my question. I will share my presentation on my repo in case someone is interested.

@galleon galleon closed this as completed Nov 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant