Pointer focus hide component
This component can hide the focus outline if triggered by a pointer, while allowing the focus outline to show on keyboard or other interaction.
id: pointer_focus_hide title: 'Pointer focus hide' description: 'This component can hide the focus outline if triggered by a pointer, while allowing the focus outline to show on keyboard or other interaction.' class: Drupal\ambientimpact_ux\Plugin\AmbientImpact\Component\PointerFocusHide provider: ambientimpact_ux
{ }
component.pointer_focus_hide:
css:
state:
components/pointer_focus_hide/pointer_focus_hide.css: { }
js:
components/pointer_focus_hide/pointer_focus_hide.js:
attributes:
defer: true
dependencies:
- ambientimpact_core/ally.js
- ambientimpact_core/framework