We already have BrowserWindow.open()

HTH,
Harbs

> On Jan 16, 2017, at 11:11 AM, OmPrakash Muppirala <bigosma...@gmail.com> 
> wrote:
> 
> (I'm back go working on the Flex Team page using MDL.  )
> 
> I'm hunting through the examples, but I dont see a way to programatically
> navigate to a URL in FlexJS.  Am I missing something obivious?
> 
> I see an <a> tag with a href, and another approach that adds an <a> element
> in code, but that seems so cumbersome.  And it does not feel MXML-ish.
> 
> I see a few options:
> 
> 1.  Implement an href attribute in the MDL Button.  Although it will be
> confusing to the user if there is a href and a click handler.  Do both get
> executed?  Can we throw a warning in MXML about this?
> 2.  Implement a org.apache.flex.net.navigateToURL function which simply
> takes an urlRequest and navigates to the specified url (by internally
> calling window.open() )
> 
> Any other options?
> 
> Thanks,
> Om

Reply via email to