$30 off During Our Annual Pro Sale. View Details »
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Explorando as APIs do HTML5
Search
Raphael Amorim
May 07, 2014
Programming
0
140
Explorando as APIs do HTML5
Raphael Amorim
May 07, 2014
Tweet
Share
More Decks by Raphael Amorim
See All by Raphael Amorim
Rust 101 for Web
raphamorim
0
200
Writing Your Own React Renderer
raphamorim
4
320
the new react
raphamorim
1
130
Composition on High-Order Components
raphamorim
0
140
Understanding React
raphamorim
1
310
Making for Web with WebAssembly
raphamorim
4
880
Scratching React Fiber
raphamorim
3
700
Understanding Memory Behavior on NodeJS
raphamorim
1
370
Using Canvas Components
raphamorim
0
300
Other Decks in Programming
See All in Programming
20251212 AI 時代的 Legacy Code 營救術 2025 WebConf
mouson
0
220
大規模Cloud Native環境におけるFalcoの運用
owlinux1000
0
200
AIエージェントの設計で注意するべきポイント6選
har1101
5
2.4k
Kotlin Multiplatform Meetup - Compose Multiplatform 외부 의존성 아키텍처 설계부터 운영까지
wisemuji
0
130
Grafana:建立系統全知視角的捷徑
blueswen
0
230
チームをチームにするEM
hitode909
0
400
AIの誤りが許されない業務システムにおいて“信頼されるAI” を目指す / building-trusted-ai-systems
yuya4
6
4k
안드로이드 9년차 개발자, 프론트엔드 주니어로 커리어 리셋하기
maryang
1
140
AI前提で考えるiOSアプリのモダナイズ設計
yuukiw00w
0
190
C-Shared Buildで突破するAI Agent バックテストの壁
po3rin
0
420
AI時代を生き抜く 新卒エンジニアの生きる道
coconala_engineer
1
440
組み合わせ爆発にのまれない - 責務分割 x テスト
halhorn
1
160
Featured
See All Featured
Tell your own story through comics
letsgokoyo
0
770
Google's AI Overviews - The New Search
badams
0
870
30 Presentation Tips
portentint
PRO
1
180
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
1
270
The Illustrated Children's Guide to Kubernetes
chrisshort
51
51k
My Coaching Mixtape
mlcsv
0
13
Producing Creativity
orderedlist
PRO
348
40k
Leading Effective Engineering Teams in the AI Era
addyosmani
9
1.4k
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
73
Being A Developer After 40
akosma
91
590k
Typedesign – Prime Four
hannesfritz
42
2.9k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.1k
Transcript
Explorando as APIs do HTML5
None
! Write Code Every ! Single Day
API's do HTML5 ?
None
Web Speech API
Comportamento
Comportamento
Exemplos + raphamorim.com/sound-hunter/ + google.com/intl/pt/chrome/demos/ speech.html
Vibration API
Comportamento navigator.vibrate(time) if (navigator.vibrate) navigator.vibrate(500) ! ! navigator.vibrate([500, 1000, 2000])
! Fullscreen API
Comportamento ! document.querySelector(‘html’).requestFullscreen() document.exitFullscreen()
Comportamento Mas como saber o status da API? var fullscreenElement
= document.fullscreenElement var fullscreenEnabled = document.fullscreenEnabled
Comportamento Awesome!! Mas e quanto os eventos da API? fullscreenchange
fullscreenerror
Comportamento ::fullscreen & ::backdrop
Exemplos + demo.hongkiat.com/html5- fullscreen-api/index.html
None
None
None
Geolocation
Comportamento if (navigator.geolocation) navigator.geolocation.getCurrentPosition(showPosition) function showPosition(position) ! var latitude =
position.coords.latitude; ! var longitude = position.coords.longitude;
Comportamento position.coords.latitude position.coords.longitude altitude speed altitudeAccuracy timestamp accuracy heading
Suporte
Exemplos + html5demos.com/geo
…E isso é tudo pessoal :) raphamorim