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
Explorando as APIs do HTML5
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Raphael Amorim
May 07, 2014
Programming
150
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Explorando as APIs do HTML5
Raphael Amorim
May 07, 2014
More Decks by Raphael Amorim
See All by Raphael Amorim
Rust 101 for Web
raphamorim
0
250
Writing Your Own React Renderer
raphamorim
4
380
the new react
raphamorim
1
150
Composition on High-Order Components
raphamorim
0
170
Understanding React
raphamorim
1
360
Making for Web with WebAssembly
raphamorim
4
910
Scratching React Fiber
raphamorim
3
780
Understanding Memory Behavior on NodeJS
raphamorim
1
410
Using Canvas Components
raphamorim
0
330
Other Decks in Programming
See All in Programming
AI Engineeringは、AIプロダクトだけのものか? 〜AIがソフトウェアを作る時代の新しい当たり前〜 / No AI in your product. AI Engineering in your development.
rkaga
4
310
Foundation Models frameworkで画像分析
ryodeveloper
1
230
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
480
ITヒヤリハットを整理してみた ~ライフサイクルと原因から考える再発防止策~
koukimiura
1
130
ビデオ通話が繋がる0.2秒で何が起きているのか
supurazako
2
160
Japan Community Day at Kubecon + CloudNativeCon Japan 2026: Learning Container Privilege Control by Building My Own Low-Level Container Runtime
ternbusty
1
100
Apache Hive: そしてCloud Native Lakehouseへ
okumin
1
190
yield再入門 #phpcon
o0h
PRO
0
850
PHPだって関数型したい 〜できること、できないこと〜 / fp-in-php
jsoizo
1
260
2年かけて Deno に DOMMatrix を実装した話 / How I implemented DOMMatrix in Deno over two years
petamoriken
0
190
jsmini JavaScript Engine を作ってみた話
yosuke_furukawa
PRO
0
280
「寝てても仕事が進む」Claude Codeで組む第二の脳
tomoyafujita2016
0
230
Featured
See All Featured
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
1
450
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
230
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
280
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
2.1k
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
72
41k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.8k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
Practical Orchestrator
shlominoach
191
11k
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
0
460
Marketing Yourself as an Engineer | Alaka | Gurzu
gurzu
0
270
Ruling the World: When Life Gets Gamed
codingconduct
0
290
How to build a perfect <img>
jonoalderson
1
5.8k
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