class domkit::FlipBox

sys::Obj
  dom::Elem
    domkit::Box
      domkit::FlipBox

@Js

FlipBox displays content on a 3D card, and allows transitiong between the front and back using a flipping animation.

back

Elem? back

Back card content.

flip

Void flip(|This|? onComplete := null)

Flip content, and invoke the specified callback when the flip animation has completed.

front

Elem? front

Front card content.

isBack

Bool isBack()

Is card showing back content.

isFront

Bool isFront()

Is card showing front content.

make

new make()

toBack

This toBack()

Show back card content if not already visible.

toFront

This toFront()

Show front card content if not already visible.