flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From PKumar <prashaku...@gmail.com>
Subject Re: FlexJS: Unable to access WrappedHTMLElement
Date Wed, 22 Feb 2017 18:50:16 GMT
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
			goog.events.listen(element, 'input', fileChangeHandler);
			positioner = element;
			positioner.style.position = 'relative';
			element.flexjs_wrapper = this;
			return element

Please suggest.

View this message in context: http://apache-flex-users.2333346.n4.nabble.com/FlexJS-Unable-to-access-WrappedHTMLElement-tp14717p14721.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

View raw message