Download the PHP package zairigimad/ux-haptics without Composer
On this page you can find all versions of the php package zairigimad/ux-haptics. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download zairigimad/ux-haptics
More information about zairigimad/ux-haptics
Files in zairigimad/ux-haptics
Download zairigimad/ux-haptics
More information about zairigimad/ux-haptics
Files in zairigimad/ux-haptics
Vendor zairigimad
Package ux-haptics
Short Description Symfony UX bundle for haptic feedback on the mobile web using web-haptics
License MIT
Package ux-haptics
Short Description Symfony UX bundle for haptic feedback on the mobile web using web-haptics
License MIT
Please rate this library. Is it a good library?
Informations about the package ux-haptics
Symfony UX Web Haptics
Haptic feedback for the mobile web in Symfony, powered by web-haptics and Stimulus.
Installation
If you're using AssetMapper, also run:
Usage
With stimulus_controller() (recommended)
With bundled Twig helpers
Plain HTML
Available Options
| Option | Type | Default | Description |
|---|---|---|---|
preset |
String | '' |
Predefined preset name |
pattern |
Array | [] |
Custom {duration, delay?, intensity?} steps |
intensity |
Number | 0.5 |
Global intensity (0.0–1.0) |
event |
String | 'click' |
DOM event that triggers the haptic |
auto |
Boolean | false |
Fire on page load instead of event |
debug |
Boolean | false |
Audio feedback for desktop testing |
show_switch |
Boolean | false |
Show web-haptics toggle UI |
Built-in Presets
success · nudge · error · buzz · warning · light · medium · heavy · soft · rigid · selection
Requirements
- PHP 8.2+
- Symfony 7.x or 8.x
symfony/stimulus-bundle^2.9
License
MIT
All versions of ux-haptics with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.2
symfony/console Version ^7.0 || ^8.0
symfony/dependency-injection Version ^7.0 || ^8.0
symfony/http-kernel Version ^7.0 || ^8.0
symfony/console Version ^7.0 || ^8.0
symfony/dependency-injection Version ^7.0 || ^8.0
symfony/http-kernel Version ^7.0 || ^8.0
The package zairigimad/ux-haptics contains the following files
Loading the files please wait ...