Future<bool> setCursor(CursorType cursor) async { return setCursorJS( container, cursor.name.toLowerCase().replaceAll('_', '-').toJS); }