Namespace: Bootstrap

Oracle® JavaScript Extension Toolkit (JET)
7.1.0

F18183-01

QuickNav


Bootstrap

Version:
  • 7.1.0
Since:
  • 7.0.0
Module:
  • ojbootstrap

Module usage

See JET Module Loading for an overview of module usage within JET.

Javascript Import Format
define(['ojs/ojbootstrap'], function(Bootstrap) {
 // Application should call API on Bootstrap 
})
Typescript Import Format
//This namespace exports multiple static methods or members. To import 
import * as Bootstrap from "ojbootstrap";

//Now you can access the methods as Bootstrap.methodName and so on

JET In Typescript

A detailed description of working with JET elements and classes in your typescript project can be found at: JET Typescript Usage.

Contains utility functions intended to be used during application bootstrapping

Methods

(static) whenDocumentReady() → {Promise<void>}

Returns a Promise that is resolved when document.readyState is no longer 'loading' i.e. when it is 'interactive' or 'complete'. This may be used to delay an application's initial applyBindings call until DOM elements are accessible.
Returns:
a Promise that is resolved when document.readyState is no longer 'loading'
Type
Promise<void>