Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Vue.jsでアニメーションしよう!
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Sanadi
January 29, 2020
Design
380
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Vue.jsでアニメーションしよう!
Sanadi
January 29, 2020
More Decks by Sanadi
See All by Sanadi
生きデザ横丁_真田LT
sanada_akira
0
110
ド素人がLaravelを触って思ったこと
sanada_akira
0
1.1k
Other Decks in Design
See All in Design
Of Ordination and Rebellion exploration sketches
rezaline
0
170
AIでデザインをつくる:基礎編
kenichiota0711
4
3.2k
Rethinking IFUs: What Board Game Rulebooks Contribute to IFU Usability
deadlinepoet
0
340
「親切なオンボーディング」 が招く罠 ー AI時代のUXデザイン
godlingkogami
1
140
トランジションの冒険 自分と世界を変える冒険の書 / Transition Adventure
dmattsun
2
190
Understanding Branding
ranyfardiany
0
240
絵や写真から学ぶ、要素がもたらす副作用
kspace
0
430
Connpass-Xperia_Camera_App_by_HCD.pdf
sony
1
700
1000人規模の組織でデザインハーネスを導入するための第一歩
pkshadeck
PRO
1
2.4k
ISO 9241-171:2025っていうのがあってな
shosira
1
210
The Art of Caring
klemens
0
370
空間アプリ開発のフィードバックをCodexにするための抽象的なデザインツールの模索
karad
0
160
Featured
See All Featured
Become a Pro
speakerdeck
PRO
31
6k
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
340
Utilizing Notion as your number one productivity tool
mfonobong
4
420
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.4k
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
180
WCS-LA-2024
lcolladotor
0
710
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
67
56k
B2B Lead Gen: Tactics, Traps & Triumph
marketingsoph
0
170
Rebuilding a faster, lazier Slack
samanthasiow
85
9.6k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
55k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4.1k
brightonSEO & MeasureFest 2025 - Christian Goodrich - Winning strategies for Black Friday CRO & PPC
cargoodrich
3
750
Transcript
アニメーション Vue.jsで しよう!
⾃⼰紹介 真⽥ 明 クリエイティブスタジオ・ファボリータという屋号で 個⼈事業主してます。 仕事内容は、Web/グラフィックデザイン・Web開発。 真⽥明 デザイン
みなさん、cssアニメーションをどうされてますか?
クラスを作って、on/offとかみたいに切り替える jQueryのanimate()を使ってフレームごと設定する その他cssやjsのアニメーションライブラリを使う
もちろん…
Vueでもアニメーションができます!
Vueでアニメーションする場合 クラスを作ってVueで切り替え Transitionラッパーを使う サードパーティのアニメーションライブラリを使う
どう使い分けるの???
Active状態のon/offを使う場合は クラスを作ってVueで切り替えるほうがよさそう Class属性をバインディングする
要素の有無の切り替えを使う場合は Transitionラッパーを使いましょう! 要素を<transition></transition>でくくるだけ!
@keyframesを使ったcssアニメーションも Transitionを使いましょう!
jQueryのanimate()が恋しくてたまらない⽅は サードパーティのライブラリを使いましょう! Velocity.js TweenMax などなど
その他Vueでアニメーションを使う場合 Vuex カスタムディレクティブ ウォッチャー でもできるらしい…
ドキュメント vue transition
デモで作ったリポジトリ https://github.com/bje0696/vue_animation