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
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Sanadi
January 29, 2020
Design
380
0
Share
Vue.jsでアニメーションしよう!
Sanadi
January 29, 2020
More Decks by Sanadi
See All by Sanadi
生きデザ横丁_真田LT
sanada_akira
0
100
ド素人がLaravelを触って思ったこと
sanada_akira
0
1.1k
Other Decks in Design
See All in Design
デザインを信じていますか
sekiguchiy
1
1.1k
Connpass-Xperia_Camera_App_by_HCD.pdf
sony
0
560
Spacemarket Brand Guide
spacemarket
2
380
モビリティプラットフォームの未来を築くクラウド基盤
kossykinto
0
250
Ralph Penel Portfolio
ralphpenel
0
370
アイデアを加速させる!Firefly ボードで発想の幅を広げよう
connecre
1
360
「ツール」から「パートナー」へ。AI伴走時代のUXデザインとは?~操作を減らし、成果を最大にするための設計~
ncdc
1
300
ClaudeCodeでマーケターの課題を解決する
kenichiota0711
10
12k
mount_company_profile
mount_inc
0
5.9k
CULTURE DECK/Creative Director
mhand01
0
1k
Crisp Code inc.|ブランドガイドライン - Brand guidelines
so_kotani
1
340
【pmconf2025】PdMの頭の中を見える化する体験構造図
kamechi7222222
1
2.2k
Featured
See All Featured
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
170
Measuring & Analyzing Core Web Vitals
bluesmoon
9
800
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
240
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
122
21k
Fireside Chat
paigeccino
42
3.9k
Odyssey Design
rkendrick25
PRO
2
560
Color Theory Basics | Prateek | Gurzu
gurzu
0
270
Agile that works and the tools we love
rasmusluckow
331
21k
What's in a price? How to price your products and services
michaelherold
247
13k
The Cult of Friendly URLs
andyhume
79
6.8k
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
160
Bootstrapping a Software Product
garrettdimon
PRO
307
120k
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