import { modifier } from 'ember-modifier';

var screenReaderOnly = modifier(function screenReaderOnly(element, [showOnFocus = false]) {
  !showOnFocus && element.classList.add('euiScreenReaderOnly');
  showOnFocus && element.classList.add('euiScreenReaderOnly--showOnFocus');
});

export { screenReaderOnly as default };
//# sourceMappingURL=screen-reader-only.js.map
