[arquillian-issues] [JBoss JIRA] (ARQGRA-261) Provide mapping of getters to properties in @JavaScript interfaces

Jan Papousek (JIRA) jira-events at lists.jboss.org
Wed Jan 23 10:35:48 EST 2013


Jan Papousek created ARQGRA-261:
-----------------------------------

             Summary: 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


More information about the arquillian-issues mailing list