-
Notifications
You must be signed in to change notification settings - Fork 327
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow by-name access to page elements #148
Comments
Shorter: page['card_name', 'upload_progress'].caption = 'foo' # Scans card_name for upload_progress
page[, 'upload_progress'].caption = 'foo' # Scans all cards on page for upload_progress
page[, 'stats_table', 'search_bar'].caption = 'foo' # Scans all cards on page for search_bar inside stat_table |
mturoci
added a commit
that referenced
this issue
Mar 6, 2023
mturoci
added a commit
that referenced
this issue
Mar 8, 2023
mturoci
added a commit
that referenced
this issue
Mar 9, 2023
mturoci
added a commit
that referenced
this issue
Mar 9, 2023
mturoci
added a commit
that referenced
this issue
Mar 9, 2023
mturoci
added a commit
that referenced
this issue
Mar 9, 2023
mturoci
added a commit
that referenced
this issue
Mar 10, 2023
mturoci
added a commit
that referenced
this issue
Mar 10, 2023
mturoci
added a commit
that referenced
this issue
Mar 10, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
API ergonomics improvement:
Currently supported:
card.items[0].caption = 'foo'
Desirable:
card.items.upload_progress.caption = 'foo'
orcard.items['upload_progress'].caption = 'foo'
Requires modification to server-side interpreter.
The text was updated successfully, but these errors were encountered: