Object/Class

io.udash.bootstrap.carousel

UdashCarousel

Related Docs: class UdashCarousel | package carousel

Permalink

object UdashCarousel

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. UdashCarousel
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. case class AnimationOptions(interval: Duration = 5 seconds, pause: PauseOption = PauseOption.Hover, wrap: Boolean = true, keyboard: Boolean = true, active: Boolean = true) extends Product with Serializable

    Permalink

    UdashCarousel animation options.

    UdashCarousel animation options.

    interval

    The amount of time to delay between automatically cycling an item.

    pause

    Indicated whether the carousel should pass on some specific event. See UdashCarousel.AnimationOptions.PauseOption.

    wrap

    Should the carousel cycle continuously or have hard stops.

    keyboard

    Should the carousel react to keyboard events.

    active

    Should the animation be active.

  2. final case class CarouselEvent[ItemType, ElemType <: udash.ReadableProperty[ItemType]](source: UdashCarousel[ItemType, ElemType], targetIndex: Int, direction: Direction, changed: Boolean) extends AbstractCase with component.ListenableEvent[UdashCarousel[ItemType, ElemType]] with Product with Serializable

    Permalink

    Event emitted by UdashCarousel on slide change transition start

    Event emitted by UdashCarousel on slide change transition start

    source

    The UdashCarousel emitting the event.

    targetIndex

    The index of the slide source transitioned to.

    direction

    The animation direction. Either CarouselEvent.Direction.Left or CarouselEvent.Direction.Right.

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. object AnimationOptions extends Serializable

    Permalink
  5. object CarouselEvent extends Serializable

    Permalink
  6. def apply[ItemType, ElemType <: udash.ReadableProperty[ItemType]](slides: properties.seq.ReadableSeqProperty[ItemType, ElemType], showIndicators: udash.ReadableProperty[Boolean] = UdashBootstrap.True, animationOptions: udash.ReadableProperty[AnimationOptions] = AnimationOptions().toProperty, srTexts: Option[(TranslationKey0, TranslationKey0, LangProperty, TranslationProvider)] = None, activeSlide: udash.Property[Int] = Property(0), componentId: component.ComponentId = ComponentId.newId())(slideContentFactory: (ElemType, NestedInterceptor) ⇒ scalatags.JsDom.all.Modifier): UdashCarousel[ItemType, ElemType]

    Permalink

    Creates a carousel component.

    Creates a carousel component. More: Bootstrap Docs.

    ItemType

    A single element's type in the items sequence.

    ElemType

    A type of a property containing an element in the items sequence.

    slides

    A SeqProperty of carousel slides.

    showIndicators

    If true, the component shows carousel slide indicators.

    animationOptions

    A carousel animation options.

    srTexts

    Translation keys for previous and next arrows aria.label texts.

    activeSlide

    An active carousel slide index.

    componentId

    The arousel DOM element id.

    slideContentFactory

    Creates content of a slide. Use the provided interceptor to properly clean up bindings inside the content.

    returns

    A UdashCarousel component, call render to create a DOM element representing this button.

  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def default(slides: udash.ReadableSeqProperty[UdashCarouselSlide], showIndicators: udash.ReadableProperty[Boolean] = UdashBootstrap.True, animationOptions: udash.ReadableProperty[AnimationOptions] = AnimationOptions().toProperty, srTexts: Option[(TranslationKey0, TranslationKey0, LangProperty, TranslationProvider)] = None, activeSlide: udash.Property[Int] = Property(0), componentId: component.ComponentId = ComponentId.newId())(slideContentFactory: (udash.ReadableProperty[UdashCarouselSlide], NestedInterceptor) ⇒ scalatags.JsDom.all.Modifier = ...): UdashCarousel[UdashCarouselSlide, udash.ReadableProperty[UdashCarouselSlide]]

    Permalink

    Creates the UdashCarousel component consisting of UdashCarouselSlide.

    Creates the UdashCarousel component consisting of UdashCarouselSlide. More: Bootstrap Docs.

    slides

    A SeqProperty of carousel slides.

    showIndicators

    If true, the component shows carousel slide indicators.

    animationOptions

    A carousel animation options.

    srTexts

    Translation keys for previous and next arrows aria.label texts.

    activeSlide

    An active carousel slide index.

    componentId

    The arousel DOM element id.

    slideContentFactory

    Creates content of a slide. Use the provided interceptor to properly clean up bindings inside the content.

    returns

    A UdashCarousel component, call render to create a DOM element representing this button.

  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  14. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  17. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  20. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  21. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped