io.scalajs.npm.angularjs.uibootstrap.Modal.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of angularjs-ui-bootstrap_sjs0.6_2.11 Show documentation
Show all versions of angularjs-ui-bootstrap_sjs0.6_2.11 Show documentation
AngularJS/ui-bootstrap binding for Scala.js
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
}