[
https://issues.jboss.org/browse/ARQGRA-261?page=com.atlassian.jira.plugin...
]
Lukáš Fryč commented on ARQGRA-261:
-----------------------------------
Hey Jan, I believe this is already possible, have you tried that?
Provide mapping of getters to properties in @JavaScript interfaces
------------------------------------------------------------------
Key: ARQGRA-261
URL:
https://issues.jboss.org/browse/ARQGRA-261
Project: Arquillian Graphene
Issue Type: Feature Request
Reporter: Jan Papousek
Consider I want to get screen width and height (window.screen.width and
window.screen.height in javascript). I'd like to create the following interface:
{code}
@JavaScript("window.screen")
public interfaces Screen {
@Property("width") // the property name should be optional (it can be
derived from method name)
Long getWidth();
@Property
Long getHeight();
}
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira