Class: ZoomService

Help4.service.zoom.ZoomService(params)

new ZoomService(params)

Parameters:
Name Type Description
params Help4.service.zoom.ZoomService.Params
Source:

Extends

Methods

activate(images) → {Help4.service.zoom.ZoomService}

Parameters:
Name Type Description
images Array.<HTMLImageElement>
Source:
Returns:
Type
Help4.service.zoom.ZoomService

deactivate(images) → {Help4.service.zoom.ZoomService}

Parameters:
Name Type Description
images Array.<HTMLImageElement>
Source:
Returns:
Type
Help4.service.zoom.ZoomService

(static) transform(html) → {string}

initialize zoom functionality for img tags in html redirect zoom modes and transform html if necessary
Parameters:
Name Type Description
html string
Source:
Returns:
Type
string

Type Definitions

Params

Type:
  • Object
Properties:
Name Type Description
controller Help4.controller.Controller
Source: