You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
User/password (if required and possible - do not post any confidential information here):
The focus function lacks documentation. It mensions oFocusInfo as an argument. This contains 'targetInfo' with type 'any' (?). What information or type are we supposed to provide to this function, to all these arguments?
Hello @jvanattedev Element#focus as a base class method defines the focus possibilities and as documented it defines "Further control-specific setting of the focus target within the control". So if want to know that its type should be or whether it should be provided or not must be documented by the controls.
e.g. sap.m.Table defines the targetInfo as
"If oFocusInfo.targetInfo is of type sap.ui.core.message.Message, the focus will be set as accurately as possible according to the information provided by sap.ui.core.message.Message." https://sapui5.hana.ondemand.com/#/api/sap.m.Table%23methods/focus
OpenUI5 version: any
Browser/version (+device/version): n.a.
Any other tested browsers/devices(OK/FAIL): n.a.
URL (minimal example if possible): https://sapui5.hana.ondemand.com/#/api/sap.ui.core.Element%23methods/focus
User/password (if required and possible - do not post any confidential information here):
The focus function lacks documentation. It mensions oFocusInfo as an argument. This contains 'targetInfo' with type 'any' (?). What information or type are we supposed to provide to this function, to all these arguments?
This oFocusInfo contains different information compare to the one in, looking at the signature of the method:
https://sapui5.hana.ondemand.com/#/api/sap.ui.core.Element%23methods/applyFocusInfo
Is that a correct assumption?
The text was updated successfully, but these errors were encountered: