question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Changing slide animation

See original GitHub issue

Hey, love this project! Is there a way to change the slide animation, ideally through some configuration like export { fade as animation } from 'mdx-deck/animations? If not I’d like to look into working on that, if I could have a few pointers 🤓

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:3
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
dan1elhughescommented, Aug 21, 2018

I like the idea of adding to the theme. I’m a bit confused by export default Fade, though - if I already have a layout on that slide, I thought ES6 exports could have only one default?

1reaction
jxnblkcommented, Aug 16, 2018

For per-slide animations, I was imagining something more like how layouts work for components, e.g.

import { Fade } from 'mdx-deck/animations'

export default Fade

# Fade In/Out
---

# No animation

For all slides, the other thing I’m thinking is adding a default CSS animation to a theme, maybe something like:

// example theme
import baseTheme from 'mdx-docks/themes'

export default {
  ...baseTheme,
  animationDuration: '.4s',
  animationEnter: {
    from: {
      opacity: 0
    },
    to: {
      opacity: 1
    }
  },
  animationLeave: {
    // ...animation keyframes
  }
}
Read more comments on GitHub >

github_iconTop Results From Across the Web

Add transitions between slides - Microsoft Support
Select the slide you want to add a transition to. · Select the Transitions tab and choose a transition. Select a transition to...
Read more >
Slide Transition Animation in PowerPoint - Instructions
Slide transition animation in PowerPoint is the animation that occurs when you move to a slide in slide show view. Slide transition animation...
Read more >
Google Slides: Adding Transitions and Animations - GCF Global
To add an animation: · Right-click the desired object, then select Animate. selecting animate from the right-click menu · The Motion pane will...
Read more >
Slide Transitions and Animations – Presentation Software
To add transitions to a presentation click on the slide sorter view, located at the bottom of the screen. Thumbnails of all the...
Read more >
How to add or remove slide transitions in Microsoft PowerPoint
Add a slide transition · In the PowerPoint presentation, click the slide you want to add a transition to in the left preview...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found