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
170
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
Transcript
26 slides
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
More Decks by Raphael Amorim
See All by Raphael Amorim
Rust 101 for Web
raphamorim
0
270
Writing Your Own React Renderer
raphamorim
4
410
the new react
raphamorim
1
160
Composition on High-Order Components
raphamorim
0
180
Understanding React
raphamorim
1
380
Making for Web with WebAssembly
raphamorim
4
940
Scratching React Fiber
raphamorim
3
800
Understanding Memory Behavior on NodeJS
raphamorim
1
450
Using Canvas Components
raphamorim
0
360
Other Decks in Programming
See All in Programming
baseline으로 마이그레이션, 리팩토링 안전하게 맡기기
fornewid
1
980
あなたの await、OS まで届いてる? strace で覗く JavaScript の非同期
hasutosasaki
1
2.3k
[DroidKnights 2026] Workflow AX: From Auto-Documented Policies to E2E Testing
raeminkang
0
560
エージェントを使い続けるためのメタワーク / Meta-work for keeping using the agent
rkaga
6
2.3k
GraphQL の onError と Nullability のこれから
quramy
0
210
地方こそサーバーレス — 10年続けた、顔が見えるチームで確かな基盤を / Serverless Matters Most in Regional Areas — 10 Years of Building Reliable Foundations with Close-Knit Teams
seike460
PRO
1
410
Distance field of Julia set
kinakomoti321
0
320
Lambda durable functionsでHuman in the Loopを楽に…楽に……
har1101
2
300
社内AIエージェント「Askワンバン」における コストチューニングの取り組み
t0yohei
0
170
DroidKnights 2026 Android A2UI Jetpack Compose 기반의 안전한 AI UI 렌더링 - 박제창
itsmedreamwalker
1
230
Claude Code ハーネスDeep Dive – 君はどこまで制御する? -
takateeen_knj
6
5.6k
protojson における文字化けの扱い
kazuki1023
0
390
Featured
See All Featured
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
2
350
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
480
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
590
Designing for Timeless Needs
cassininazir
1
560
Product Roadmaps are Hard
iamctodd
55
13k
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
590
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.5k
Visualization
eitanlees
153
17k
Large-scale JavaScript Application Architecture
addyosmani
516
110k
Heart Work Chapter 1 - Part 1
lfama
PRO
11
37k
How to build an LLM SEO readiness audit: a practical framework
nmsamuel
2
980
Odyssey Design
rkendrick25
PRO
3
940