Home Reference Source
public class | source

ShakeAnimation

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public

Method Summary

Public Methods
public

Make all the actions connected to this module return {void}

public

makeNonShakable({Object},: *): void

Make the given element non shakable

public

makeShakable({Object},: *): void

Make the given element shakable

public

shakeElement({jQuery: *): void

Function adds class shake, after the animation is done, the class shake is removed from the element

public

shakeEvent(elem: *): void

Use the clicked element to invoke shakeElement

public

Shakes the element that has the focus

Public Constructors

public constructor() source

Public Members

public animationEvent: string source

Public Methods

public bindUIActions() source

Make all the actions connected to this module return {void}

public makeNonShakable({Object},: *): void source

Make the given element non shakable

Params:

NameTypeAttributeDescription
{Object}, *

element

Return:

void

public makeShakable({Object},: *): void source

Make the given element shakable

Params:

NameTypeAttributeDescription
{Object}, *

element

Return:

void

public shakeElement({jQuery: *): void source

Function adds class shake, after the animation is done, the class shake is removed from the element

Params:

NameTypeAttributeDescription
{jQuery *

element}, elem

Return:

void

public shakeEvent(elem: *): void source

Use the clicked element to invoke shakeElement

Params:

NameTypeAttributeDescription
elem *

Return:

void

public shakeFocusedElement(): void source

Shakes the element that has the focus

Return:

void