@visitscotland/component-library
Version:
VisitScotland Component Library
8 lines (7 loc) • 309 B
TypeScript
/**
* When an element with this directive is focused on, the
* directive passes focus to the element passed as the value,
* or the element's first child if no value is given. The
* element needs to be given a tabindex value to work.
*/
export default function handDownFocus(el: any, binding: any): void;