Patterns

2.6.15

Modal

Modal Usage

To instantiate the Modal Object through the global NYCO Patterns script use the following code:

var nyco = new NYCO();

nyco.dialog();

ES Module

This method is a wrapper around the Patterns Scripts dialog utility which is included as a dependency of this project. The utility can be imported as an ES module and instantiated separately.

import Dialog from '@nycopportunity/pttrn-scripts/src/dialog/dialog';

new Dialog();