Skip to main content

HTMLDwebHapticsElement

BFChainWebComponentHTMLDwebHapticsElementLess than 1 minute

An HTMLElement for haptic vibration feedback;
Inherits from HTMLElementopen in new window;

<dweb-haptics></dweb-haptics>

Properties

Methods

  • None

Events

  • No predefined events

Example

<body>
  <dweb-haptics></dweb-haptics>
  
  <script type="text/javascript">
    const dwebHaptics = document.querySelector("dweb-haptics");
    dwebHaptics.vibrateDisabled();
  </script>
</body>

Cross-Platform Compatibility

Properties/Methods/EventsAndroidiOSDesktop-DevDesktop
pluginX
vibrateX
impactLightX
notificationX
vibrateClickX
vibrateDisabledX
vibrateDoubleClickX
vibrateHeavyClickX
vibrateTickX

Plaoc WebComponent

HapticsPlugin

Comments
  • Latest
  • Oldest
  • Hottest
Powered by Waline v2.15.7