ally.when.focusable Example

Press the "start" button below. An element will be animated into view and focused once it is fully visible (yet before the transition ended). Press ESC to programmatically abort focusing the target element. Click on the "abort" button to focus another element during transition to prevent the target element from getting focused.