The WrappedHTMLElement is only available when compiling with COMPILE::JS
blocks which are available within the FlexJS framework projects.

Are you trying to build this at the application level?

Regards,
Peter Ent
Adobe Systems/Apache Flex Project

On 2/22/17, 1:50 PM, "PKumar" <prashaku...@gmail.com> wrote:

>I wrote following code:
>
>override protected function createElement():IFlexJSElement
>               {
>                       element = document.createElement('input') as 
> WrappedHTMLElement;
>                       element.setAttribute('type', 'file');
>                       element.className = 'FileInput';
>                       typeNames = 'FileInput';
>                       
>                       //attach input handler to dispatch flexjs change event 
> when user write
>in
>textinput
>                       goog.events.listen(element, 'input', fileChangeHandler);
>                       
>                       positioner = element;
>                       positioner.style.position = 'relative';
>                       element.flexjs_wrapper = this;
>                       
>                       return element
>               }
>
>Please suggest.
>
>
>
>-----
>Regards,
>Prashant
>--
>View this message in context:
>http://apache-flex-users.2333346.n4.nabble.com/FlexJS-Unable-to-access-Wra
>ppedHTMLElement-tp14717p14721.html
>Sent from the Apache Flex Users mailing list archive at Nabble.com.

Reply via email to