Skip to content

Commit

Permalink
Add documentation for arrowKeyFocusablesOnBeforeFocus.
Browse files Browse the repository at this point in the history
  • Loading branch information
dbatiste authored Jun 13, 2018
1 parent ea4fb9c commit b8f2caa
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,16 @@ attached: function() {
});
});

}.bind(this);
};

// optional callback before focus is applied
this.arrowKeyFocusablesOnBeforeFocus = function(elem) {
return new Promise(function(resolve) {
// do some stuff
resolve();
});
};

});
}
```
Expand Down

0 comments on commit b8f2caa

Please sign in to comment.