All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.scalajs.npm.angularjs.uibootstrap.Modal.scala Maven / Gradle / Ivy

There is a newer version: 0.3.0.6
Show newest version
package io.scalajs.npm.angularjs.uibootstrap

import io.scalajs.npm.angularjs.AngularOptions

import scala.scalajs.js
import scala.scalajs.js.|

/**
  * AngularJS Modal Service (\$modal)
  * @author [email protected]
  * @see http://angular-ui.github.io/bootstrap/#/modal
  */
@js.native
trait Modal extends js.Object {

  /**
    * Creates and opens a new modal dialog instance
    * @param options the given [[ModalOptions Modal Options]]
    * @tparam T the return type
    * @return a new [[ModalInstance Modal Instance]]
    */
  def open[T](options: ModalOptions | AngularOptions): ModalInstance[T] = js.native

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy