Skip to content

Commit e4d27c9

Browse files
Update docs.md
1 parent 2cf20a0 commit e4d27c9

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

docs.md

+10-7
Original file line numberDiff line numberDiff line change
@@ -71,13 +71,16 @@ iOS uses accessibility label with a fallback to text.
7171
0. `(Array<String>) textfields` Get an array of textfield texts.
7272

7373
#### text
74-
0. `(Text) text(index)` Find a text by index.
75-
0. `(Array<Text>) e_texts` Get an array of text elements.
76-
0. `(Text) first_text` Get the first text element.
77-
0. `(Text) last_text` Get the last text element.
78-
0. `(Text) text(text)` Get the first element that matches text.
79-
0. `(Text) text_include(text)` Get the first textfield that includes text.
80-
0. `(Array<String>) texts` Get an array of text texts.
74+
75+
The Static Text methods have been prefixed with `s_` to avoid conflicting with the generic text methods.
76+
77+
0. `(Text) s_text(index)` Find a text by index.
78+
0. `(Array<Text>) s_e_texts` Get an array of text elements.
79+
0. `(Text) s_first_text` Get the first text element.
80+
0. `(Text) s_last_text` Get the last text element.
81+
0. `(Text) s_text(text)` Get the first element that matches text.
82+
0. `(Text) s_text_include(text)` Get the first textfield that includes text.
83+
0. `(Array<String>) s_texts` Get an array of text texts.
8184

8285
#### window
8386
0. `(Object) window_size` Get the window's size.

0 commit comments

Comments
 (0)