enabled

open fun enabled(itemId: String, enabled: Boolean): PageSpec(source)

This spec with the list row itemId (an ITEM, TOGGLE, LINK or CHOICE) shown greyed and not selectable, or back to normal. Any other id throws IllegalArgumentException: only list rows can be disabled. Needs api 5.

Since

api 5