This documentation doesn't match the actual parameter name.  I think I actually prefer "root" - or another generic term not conflicting with the name! - here; rootElement suggests an actual DOM node, whereas the type is originally mixed.