Skip to content

Latest commit

 

History

History
 
 

use-window-options

Demonstrate the different options available for showing windows

How it Works

The app.ts listens processes the options specified in the main screen and applies them when launching a dynamic window.

Get Started

Follow the instructions below to get up and running.

Set up the project

  1. Install dependencies and do the initial build. Note that these examples assume you are in the sub-directory for the example.
npm run setup
  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

  1. App showing the options you can choose when displaying OpenFin windows.

Use Window Options

  1. Preview

Use Window Options Preview

Alternate light mode views.

Use Window Options Light

  1. Preview

Use Window Options Preview Light

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!