Skip to content
This repository was archived by the owner on Oct 14, 2024. It is now read-only.

HideAction

MikhailTymchukDX edited this page Aug 25, 2016 · 2 revisions

HideAction (inherits Action)

The HideAction simply hides the target from view (by setting its style's display attribute to 'none')

Client properties

Name Description
visible True to show the target, false to hide it. The default value is false.

Client methods

Name Description
.ctor(target, duration, fps, visible)

Client properties

visible

True to show the target, false to hide it. The default value is false.

Getter name: get_visible()
Setter name: set_visible(value)

Client methods

.ctor(target, duration, fps, visible)

Params:

  • target

    • Type: Object
    • Description: Target of the animation.
  • duration

    • Type: Number
    • Description: Length of the animation in seconds. The default is 1.
  • fps

    • Type: Number
    • Description: Number of steps per second. The default is 25.
  • visible

    • Type: Boolean
    • Description: true to show the target, false to hide it. The default value is false.

Clone this wiki locally