Skip to content

Add onfocus=, onunfocus=, and focus() event to widgets. #24

Description

@TheOlajos

This will help streamline and make event execution more controllable. Especially on items like input where events are executed currently onchange or in an eval or trigger. This will also allow a user to set the focus of a widget to true or false.

  • add a non settable focus attribute so a user can check if a widget has focus, or a hasfocus() event?
  • Add a focus() event that can take an id, next, previous, or none.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions