class and all methods
Creates a block class instances.
Marks the first visible item or the one whose
aria-selected attribute is set to
The latter has priority over the former.
- beforeMark : Object
function to be executed just before marking. Used in cases when any preparatory cleanup (like unmarking all items) would simultaneously destroy the information that is needed to determine the focused item.
Mark the item specified by the index as current activated.
- index : Object