1.3.8 • Published 1 year ago

interactive_image_with_hotspots v1.3.8

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

USI-UI

Name

Interactive Image with Hotspots

Description

In this package there is a component which returns a image with some hotspots (e.g, There is an image consits of table chair light we have to send the URL of image , hotspots data as coordinates. It will give image when user hover over the table or chair it will be highlighted).

Visuals

alt text

Properties

src = source url of the Image.

data ={ "id": Id of Hotspot, "box": { "top": the given number is converted into % by multiplying it with 100, "left": the given number is converted into % by multiplying it with 100, "right": the given number is converted into % by multiplying it with 100, "bottom": the given number is converted into % by multiplying it with 100 }, "itemNo": "item no of particular item", "hotSpot"(hostspot point of the item): { "top": the given number is converted into % by multiplying it with 100, "left":the given number is converted into % by multiplying it with 100 } }(array of objects cointaining the hotspots and its data).

isClickable = true or false (This is for the particular item is clickable or not).

clickEvent = function (it returns the event and data of that particular hotspot).

1.3.7

1 year ago

1.3.6

1 year ago

1.3.5

1 year ago

1.3.4

1 year ago

1.3.3

1 year ago

1.3.8

1 year ago

1.3.2

1 year ago

1.3.1

1 year ago

1.3.0

1 year ago

1.2.9

1 year ago

1.2.8

1 year ago

1.2.7

1 year ago

1.2.6

1 year ago

1.1.6

1 year ago

1.1.5

1 year ago

1.1.4

1 year ago

1.1.3

1 year ago

1.1.2

1 year ago

1.1.1

1 year ago

1.1.0

1 year ago

1.0.0

1 year ago