Bitrix API

Animation extends Base

Table of Contents

Constants

TARGET_BLOCK  = 'block'
Apply animation for block that triggered the action
TARGET_ITEM  = 'item'
Apply animation for whole timeline item
TYPE_DISABLE  = 'disable'
Disable animated target
TYPE_LOADER  = 'loader'
Show loader on animated target

Methods

__construct()  : mixed
disableBlock()  : self
disableItem()  : self
getTarget()  : string
getType()  : string
isForever()  : bool
setForever()  : self
Do not stop animation till timeline item is updated with a push
setTarget()  : self
setType()  : self
showLoaderForBlock()  : self
showLoaderForItem()  : self
toArray()  : array<string|int, mixed>

Constants

TARGET_BLOCK

Apply animation for block that triggered the action

public mixed TARGET_BLOCK = 'block'

TARGET_ITEM

Apply animation for whole timeline item

public mixed TARGET_ITEM = 'item'

TYPE_DISABLE

Disable animated target

public mixed TYPE_DISABLE = 'disable'

TYPE_LOADER

Show loader on animated target

public mixed TYPE_LOADER = 'loader'

Methods

__construct()

public __construct(string $target, string $type) : mixed
Parameters
$target : string
$type : string

disableBlock()

public static disableBlock() : self
Return values
self

disableItem()

public static disableItem() : self
Return values
self

getTarget()

public getTarget() : string
Return values
string

getType()

public getType() : string
Return values
string

isForever()

public isForever() : bool
Return values
bool

setForever()

Do not stop animation till timeline item is updated with a push

public setForever([bool $forever = true ]) : self
Parameters
$forever : bool = true
Return values
self

setTarget()

public setTarget(string $target) : self
Parameters
$target : string
Return values
self

setType()

public setType(string $type) : self
Parameters
$type : string
Return values
self

showLoaderForBlock()

public static showLoaderForBlock() : self
Return values
self

showLoaderForItem()

public static showLoaderForItem() : self
Return values
self

toArray()

public toArray() : array<string|int, mixed>
Return values
array<string|int, mixed>

        
On this page

Search results