API Reference / @gtkx/testing / ByRoleValue
Type Alias: ByRoleValue
ByRoleValue =
object
Defined in: packages/testing/dist/types.d.ts:57
Constraints on a widget's numeric range value used by role queries. The numbers come from the accessibility tree and match within 0.001, the resolution GTK keeps them to.
Properties
max?
optionalmax?:number
Defined in: packages/testing/dist/types.d.ts:66
The highest value the widget can reach, which on a paged widget such as a scrollbar is its adjustment's upper bound less one page.
min?
optionalmin?:number
Defined in: packages/testing/dist/types.d.ts:61
The lower bound of the value's range.
now?
optionalnow?:number
Defined in: packages/testing/dist/types.d.ts:59
The current value.
text?
optionaltext?:Matcher
Defined in: packages/testing/dist/types.d.ts:68
Matcher for the value's textual representation.