home.social

#viewtransitionsapi — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #viewtransitionsapi, aggregated by home.social.

  1. #NavigationAPI is now baseline and it's so nice!

    - No more click listeners on `<a>` tags, fighting with history state, manually updating the #dom, listening for popstate events
    - handles scroll position
    - ties in with the #ViewTransitionsAPI

    web.dev/blog/baseline-navigati

    #webdev #javascript #spa #mpa

  2. #NavigationAPI is now baseline and it's so nice!

    - No more click listeners on `<a>` tags, fighting with history state, manually updating the #dom, listening for popstate events
    - handles scroll position
    - ties in with the #ViewTransitionsAPI

    web.dev/blog/baseline-navigati

    #webdev #javascript #spa #mpa

  3. #NavigationAPI is now baseline and it's so nice!

    - No more click listeners on `<a>` tags, fighting with history state, manually updating the #dom, listening for popstate events
    - handles scroll position
    - ties in with the #ViewTransitionsAPI

    web.dev/blog/baseline-navigati

    #webdev #javascript #spa #mpa

  4. #NavigationAPI is now baseline and it's so nice!

    - No more click listeners on `<a>` tags, fighting with history state, manually updating the #dom, listening for popstate events
    - handles scroll position
    - ties in with the #ViewTransitionsAPI

    web.dev/blog/baseline-navigati

    #webdev #javascript #spa #mpa

  5. #NavigationAPI is now baseline and it's so nice!

    - No more click listeners on `<a>` tags, fighting with history state, manually updating the #dom, listening for popstate events
    - handles scroll position
    - ties in with the #ViewTransitionsAPI

    web.dev/blog/baseline-navigati

    #webdev #javascript #spa #mpa

  6. #PHP でいいじゃんという機運がもし高まったら #RiotJS にとってはむしろ勝機、いや、勝つとか負けるとかいうフェーズではもはやないけど、シチュエーションによっては活路があるというか利用シーンでてくる気はしている。

    そのためにもランタイムスロットのことをやっぱり記事書きたいな。
    このあたりの機能は Inspired by #AlpineJS なので、事前コンパイルなしで使える(というか RiotJS のコンパイラーを含むバージョンを使う)し、サーバーサイドの #PHP とは親和性が高い気がしてる(気がしているだけ

    あとは #ViewTransitionsAPI が通常のページ遷移でも効くようになってくれたら、最高なんだけどなあ :vivaldia_5:

  7. #100DaysOfCode : #VanillaJS

    #Day37 : Table with dynamic pagination

    Online demo : teotimepacreau.github.io/Table

    Source Code : github.com/teotimepacreau/Tabl

    Learned :
    - pushing in an array each rows until a number of rowsPerPage with a for(i=0; i<arrayOfRows.length; i=i+rowsPerPage)
    - implemented ViewTransitions API
    - active page styled
    - tried to implement a sorter but non complete

    #WebDev #Frontend #CSS #WebDesign #LearnWebDev #Javascript #LearnToCode #LearnJavascript #JS #ViewTransitionsAPI

  8. #ViewTransitionsAPI めっちゃ便利そうなんだよなー使ってみたい。

    #Chrome で動くこのサンプルが #Vivaldi で動かないのは #Chromium 115 じゃないから?

    codepen.io/argyleink/pen/rNQZb

    View Transitions API は今の Vivaldi の Chromium 114系でも対応してるはずなんだけど、別のなにかが 動いていない

  9. #Development #Explorations
    First experiments with view transitions for multi-page apps · Let’s discover the potential of the new View Transitions API ilo.im/1392an

    “This is a great dive on view transitions.” — @jimniels

    _____
    #Browser #ViewTransitionsAPI #WebDevelopment #WebDev #Frontend #HTML #CSS #Animation #ProgressiveEnhancement