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
Raphael Amorim
May 07, 2014
Programming
0
130
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
150
Writing Your Own React Renderer
raphamorim
4
270
the new react
raphamorim
1
100
Composition on High-Order Components
raphamorim
0
100
Understanding React
raphamorim
1
270
Making for Web with WebAssembly
raphamorim
4
790
Scratching React Fiber
raphamorim
3
620
Understanding Memory Behavior on NodeJS
raphamorim
1
330
Using Canvas Components
raphamorim
0
260
Other Decks in Programming
See All in Programming
Ruby on Railroad: The Power of Visualizing CFG
ydah
0
250
音声プラットフォームのアーキテクチャ変遷から学ぶ、クラウドネイティブなバッチ処理 (20250422_CNDS2025_Batch_Architecture)
thousanda
0
320
note の Elasticsearch 更新系を支える技術
tchov
0
160
Fiber Scheduler vs. General-Purpose Parallel Client
hayaokimura
1
170
KawaiiLT 登壇資料 キャリアとモチベーション
hiiragi
0
150
Bedrock×MCPで社内ブログ執筆文化を育てたい!
har1101
6
1.2k
PHPで書いたAPIをGoに書き換えてみた 〜パフォーマンス改善の可能性を探る実験レポート〜
koguuum
0
180
2ヶ月で生産性2倍、お買い物アプリ「カウシェ」4チーム同時改善の取り組み
ike002jp
1
100
エンジニア向けCursor勉強会 @ SmartHR
yukisnow1823
2
8.2k
Vibe Coding の話をしよう
schroneko
12
3.1k
[NG India] Event-Based State Management with NgRx SignalStore
markostanimirovic
1
170
20250429 - CNTUG Meetup #67 / DevOps Taiwan Meetup #69 - Deep Dive into Tetragon: Building Runtime Security and Observability with eBPF
tico88612
0
130
Featured
See All Featured
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
StorybookのUI Testing Handbookを読んだ
zakiyama
29
5.7k
Bash Introduction
62gerente
611
210k
Large-scale JavaScript Application Architecture
addyosmani
512
110k
Java REST API Framework Comparison - PWX 2021
mraible
31
8.5k
What's in a price? How to price your products and services
michaelherold
245
12k
Stop Working from a Prison Cell
hatefulcrawdad
268
20k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
9
760
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
47
2.7k
Docker and Python
trallard
44
3.3k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
227
22k
Building a Modern Day E-commerce SEO Strategy
aleyda
40
7.2k
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