registerActionHandler method
Registers handler for action elements called name (local name);
it runs after the generic event checks.
Implementation
void registerActionHandler(String name, ActionElementHandler handler) {
_actionHandlers[name] = (p, e, parent) =>
p._parseAction(e, parent, handler);
}