Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Explorando as APIs do HTML5
Search
Raphael Amorim
May 07, 2014
Programming
160
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
260
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
930
Scratching React Fiber
raphamorim
3
780
Understanding Memory Behavior on NodeJS
raphamorim
1
430
Using Canvas Components
raphamorim
0
340
Other Decks in Programming
See All in Programming
【高い買い物LT会】初任給で話題の国産フィジカルAIを買った話
akagami
PRO
0
160
App Intentsのビルドプロセスを支える技術
kntkymt
0
380
AI Agent時代のリアーキテクチャ戦略と実践
hokaccha
9
4.6k
TiDB Cloudのカスタムコントローラーによるオートスケール対応
takaidohigasi
0
120
市販E-Readerを乗っ取れ 〜Embedded Swiftで電子ペーパーガジェットを制御する〜
trickart
0
190
『寄り添うラジオ』をAIで作る 体験価値から逆算した、会話しないUXと品質設計
theoriatec2024
3
180
Starting & Sustaining Code-Based E2E Testing for Non-Coding QA Teams( #jasstniigata )
teyamagu
PRO
1
310
仕様駆動開発による爆速プロダクト開発 / Bakusoku Spec Driven Development
kobakei
0
120
JPUG勉強会 OSSデータベースの内部構造を理解しよう(第2回)
oga5
0
240
更なる可用性を求めて、5年間運用したKotlinのアプリケーションをGoでリプレイスする話
ken_tunc
0
260
大喜利で理解するLLM as a Judge / Understanding LLM-as-a-Judge through Ogiri
rockname
0
120
数年滞っていたダークモード対応をおよそ2週間で完了させる
chigichan24
0
710
Featured
See All Featured
Docker and Python
trallard
47
4.2k
Information Architects: The Missing Link in Design Systems
soysaucechin
1
1.1k
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
290
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
2
2.9k
Building AI with AI
inesmontani
PRO
1
1.2k
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
260
What does AI have to do with Human Rights?
axbom
PRO
1
2.4k
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
940
Measuring & Analyzing Core Web Vitals
bluesmoon
9
1k
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
330
The Mindset for Success: Future Career Progression
greggifford
PRO
0
500
Believing is Seeing
oripsolob
1
220
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