KoolImageView Class [Javascript]

Summary

Properties Description
id Get the id for KoolImageView.
Methods Description
open Open the the big view of image
close Close big view of image
getStatus Get status of ImageView.
registerEvent Register an client-side event.

Properties Detail

idTop

string id

Get the id for KoolImageView.

Show/Hide Code

Supported from version: 1.0.0.0

Methods Detail

openTop

void open()

Open the the big view of image

Show/Hide Code

Supported from version: 1.0.0.0

closeTop

void close()

Close big view of image

Show/Hide Code

Supported from version: 1.0.0.0

getStatusTop

string getStatus()

Get status of ImageView. The return values are "loading"|"opening"|"opened"|"closing"|"closed"

Show/Hide Code

Supported from version: 1.0.0.0

registerEventTop

void registerEvent()

Register an client-side event.
Allowed eventName:

    "OnBeforeOpen"
    "OnBeforeClose"
    "OnBeforeImageClick"
    "OnBeforeBigImageClick"
    "OnBeforeBackgroundClick"
    "OnBeforeCloseButtonClick"
    "OnOpen"
    "OnClose"
    "OnImageClick"
    "OnImageMouseOver"
    "OnImageMouseOut"
    "OnBigImageClick"
    "OnBackgroundClick"
    "OnZoomPanelMouseOver"
    "OnZoomPanelMouseOut"

Show/Hide Code

Supported from version: 1.0.0.0