ngageoint / endpoint.js

Web application discovery, execution and streaming library
http://ngageoint.github.io/endpoint.js/
Apache License 2.0
26 stars 5 forks source link

Allow access to ability to create default types of links via API #14

Open datasedai opened 8 years ago

datasedai commented 8 years ago

It would be nice to be able to call methods to create default server link, window link, cross origin window link, call the commands to detect shared worker support & create tab link, etc, that are in configuration-factory.js, so that people can create their own combinations of links on startup.

When using a cross origin connection, one can run into the #2 bug, which leads to having to place a 'removeLink()' call within the iframe to prevent the consumer html page from getting two announcements when using the software from the same origin.

Edit: Essentially it's impossible to use the logic to determine if shared worker support is available & alternatively create a tab link via the current API, which makes being able to create custom link configurations kind of a nightmare.