oddbird / slide-deck

Web presentations, as a self-contained web component
MIT License
25 stars 0 forks source link

Fix toggleView, add button #16

Closed jamesnw closed 11 months ago

jamesnw commented 11 months ago

Description

This fixes the logic for toggling between views, and adds an example button.

Related Issue(s)

None

Steps to test/reproduce

  1. Click the toggle view button on the slide-event slide, and see that it it toggles between the two.
  2. Set the slide-view attribute in the dom to something random, and click. See that it takes you to the default grid, and the toggles between grid and list.
netlify[bot] commented 11 months ago

Deploy Preview for slide-deck ready!

Name Link
Latest commit 74e1d23c30b7a9a70942ec77bfd5aa69c1bccf68
Latest deploy log https://app.netlify.com/sites/slide-deck/deploys/65959a3a258ebd00087e030e
Deploy Preview https://deploy-preview-16--slide-deck.netlify.app/
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

mirisuzanne commented 11 months ago

looks good!