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

be.doeraene.webcomponents.ui5.DynamicPageTitle.scala Maven / Gradle / Ivy

The newest version!
package be.doeraene.webcomponents.ui5

import be.doeraene.webcomponents.ui5.internal.Slot
import com.raquo.laminar.codecs.{BooleanAsAttrPresenceCodec, StringAsIsCodec}
import com.raquo.laminar.api.L.*
import com.raquo.laminar.tags.CustomHtmlTag
import com.raquo.laminar.keys.HtmlAttr
import com.raquo.laminar.nodes.ReactiveHtmlElement
import org.scalajs.dom

import scala.scalajs.js
import scala.scalajs.js.annotation.JSImport
import be.doeraene.webcomponents.WebComponent
import be.doeraene.webcomponents.ui5.eventtypes.EventWithPreciseTarget

/** Title of the DynamicPage.
  *
  * The DynamicPageTitle component is part of the DynamicPage family and is used to serve as title of the DynamicPage.
  */
object DynamicPageTitle extends WebComponent {

  @js.native
  trait RawElement extends js.Object {}

  type Ref = dom.html.Element & RawElement

  protected val tag: CustomHtmlTag[Ref] = CustomHtmlTag("ui5-dynamic-page-title")

  object slots {
    val heading: Slot        = Slot("heading")
    val snappedHeading: Slot = Slot("snappedHeading")
    val actionsBar: Slot     = Slot("actionsBar")

    /** Should be a [[Toolbar]] */
    val navigationBar: Slot     = Slot("navigationBar")
    val subheading: Slot        = Slot("subheading")
    val snappedSubheading: Slot = Slot("snappedSubheading")
    val breadcrumbs: Slot       = Slot("breadcrumbs")
  }

  object events {}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy