Skip navigation
Animates ✅ row.remove() ✅ table.insertAdjacentHTML() ❤️‍🔥 special animation like the table is…
0:00 / 0:48

Animates ✅ row.remove() ✅ table.insertAdjacentHTML() ❤️‍🔥 special animation like the table is…

Adam Argyle

@argyleink59K followers

Visit on X
534 likesDownloadOriginal post

52,445 views

Animates <table> ✅ row.remove() ✅ table.insertAdjacentHTML() ❤️‍🔥 special animation like the table is crushing a row out of existence hehe ✅ used devtools in the vid to slowmo the effect viva View Transitions: src on Codepen:

6 Comments

Comments from the original post on X (Twitter)

  • Danny Moerkerke's profile picture

    @dannymoerkerke

    I never fully realized that you don't need to navigate to another page to use document.viewTransition(). It's kinda obvious now that I know it but it wasn't to me at first. Great demo!

    4 likes

  • bkardell 🐦's profile picture

    @briankardell

    Nice. Double click to delete feels weird to me... Did you get that from somewhere else?

    2 likes

  • Adam Argyle's profile picture

    @argyleink

    It is weird, didn't get it from anywhere, just wanted an easy delete trigger. I had a version with delete buttons on rows and just never settled on it.

    2 likes

  • KΞNNETH | ケニチ's profile picture

    @kennethrohde

    What?! 👀 this is like amazing! 😍

    1 like

  • Marcus Tucker 💚's profile picture

    @marcustucker

    Looks lovely but it's too easy to accidentally double-click or double-tap a row, so unless it's paired with an "undo" button (which at present it's not) I wouldn't recommend using this interaction #ux

  • Adam Argyle's profile picture

    @argyleink

    Not all of them 😅 yet 😏