The goal is to facilitate the transition of existing vSphere Flex Client plug-ins to vSphere HTML Client plug-ins and ensure more stable ecosystem.
• Custom plugin data can be passed from the parent window to the modal iframe.
• Developers can pass data from a modal to its parent when the modal is about to be closed.
• Developers can specify multiple target ids when opening a dialog.
• Developers can specify the dialog title and X button as optional.
The APIs are divided into namespaces for easier access, understanding and categorization and overcome the existing security concern that sensitive information was passed via URL parameter.
Is there any plan to provide a sample for new JS API? I'm trying to use this in plugin-seed but getting error(s).
What if I wanted my plugin to be compatible with both flash and html5 client at this point ? Can I still use these APIs?
Fling 11 is for introducing new APIs and getting feedback but since those are new APIs they don't work as is with current releases. We're looking into ways to make them backward compatible as we know that most plugin developers need to support older versions. The plugin-seed tool will be updated sometimes in the future to support those APIs.