Skip to content

Latest commit

 

History

History
50 lines (30 loc) · 1.31 KB

File metadata and controls

50 lines (30 loc) · 1.31 KB

How To Use Popup Window | Single Result

version

Note: this feature is available for development purposes only and will be officially released in v26.

How it Works

The client/src/app.ts sets up a button that when clicked will create a simple one use popup window. Once one of the buttons in the popup is clicked (see client/src/popup.ts) or blurred the popup will close and the result will be displayed in the view.


Get Started

Follow the instructions below to get up and running.

Set up the project

  1. Install dependencies. Note that these examples assume you are in the sub-directory for the example.
$ npm install
  1. Build the project.
$ npm run build
  1. Start the test server in a new window.
$ npm run start
  1. Start the Platform application.
$ npm run client

What you will see

A single view with a "show popup" button, click the button to create and interact with the popup window.


A note about this example

This is an example of how to use OpenFin APIs to configure OpenFin Container. Its purpose is to provide an example and suggestions. DO NOT assume that it contains production-ready code. Please use this as a guide and provide feedback. Thanks!