class

FlipBox

@Js
class FlipBox : Box

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

constructors make

fields back

Back card content

front

Front card content

methods isBack

Is card showing back content

toFront

Show front card content if not already visible

isFront

Is card showing front content

flip

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

toBack

Show back card content if not already visible

back Elem? : back

Back card content.

flip Void flip(|This|? onComplete)

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.

Haxall 4.0.5 ∙ 24-Feb-2026 14:33 EST