Vibration API

E856234

The Vibration API is a web standard that allows websites and web applications to programmatically trigger and control device vibration, primarily on mobile devices, to provide haptic feedback to users.

All labels observed (2)

How this entity was disambiguated

Statements (49)

Predicate Object
instanceOf W3C specification
Web API
browser feature
acceptsParameterType array of numbers
number
accessibleFrom JavaScript
booleanReturnMeaning false if vibration request is rejected
true if vibration request is accepted
canBeDisabledBy user agent settings
user preferences
category Client-side web technology
definedOnInterface Navigator interface
disableCall navigator.vibrate(0)
navigator.vibrate([])
documentationAvailableAt MDN Web Docs
W3C specification site
editor W3C Device APIs Working Group
exampleCall navigator.vibrate(200)
navigator.vibrate([200, 100, 200])
exposedVia Navigator.vibrate
initialPublicationYear 2013
limitedSupportOn desktop browsers
mayBeIgnoredBy user agent
methodName vibrate
notEffectiveOn devices without vibration hardware
parameterUnit milliseconds
partOf Web platform
primaryUse provide haptic feedback
trigger device vibration
reasonForIgnoring hardware limitations
power saving mode
user settings
relatedTo Device APIs
Haptic feedback
requires secure context in some browsers
returnType boolean
securityConsideration may be blocked in background tabs
may be blocked to prevent abuse
may be restricted in cross-origin iframes
standardizedBy W3C
status W3C Recommendation (Vibration API Level 1)
linked to: Vibration API
subjectTo permission or security policies
supportedOn Android browsers (varies by vendor and version)
supports single vibration pattern
vibration pattern sequence
typicalEnvironment mobile devices
typicalUseCase games
haptic feedback for UI interactions
notifications

How these facts were elicited

Referenced by (3)

Full triples — surface form annotated when it differs from this entity's canonical label.

Open Web Platform hasComponent Vibration API
Vibration API status W3C Recommendation (Vibration API Level 1)
linked to: Vibration API