1.5.5 • Published 3 years ago

@puneet_epigraph/epigraph_configurator_core v1.5.5

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
3 years ago

#Event Listeners

You can add the following listeners to this web component:

  • openedContextMenu

This event will be fired whenever an item is clicked or selected in the 3D scene, data packet will contain: data.offsetX, data.offsetY : mouse position of the click data.itemData contains skuID, guid, name, etc data.hotspotData etc

  • closedContextMenu
  • configurator-core-ready
  • itemChange
  • saveButtonTrigger
  • shareButtonTrigger
  • hotspotClick
  • hotspotExit

#Function Calls

These are the following function calls you can make on this webcomponent

##Available Functions

  • fireUp()
  • sendMessage()
  • Used to communicate to the core webcomponent

###Available messages:

  • begin
  • loadConfig
  • alert
  • spawnGhosts
  • removeAllGhosts
  • clickHotspot
  • exitHotspot
  • removeItem
  • spawnItem
  • saveButtonFromUI
  • closeContextMenu

##Example

You have your webcomponent:

<epigraph-configurator-core id="mcc" />

You can write following script to add event listeners and do your function calls:

<script></script>
1.2.0

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.5.5

3 years ago

1.2.8

3 years ago

1.1.9

3 years ago

1.3.6

3 years ago

1.2.7

3 years ago

1.1.8

3 years ago

1.0.9

3 years ago

1.3.5

3 years ago

1.2.6

3 years ago

1.1.7

3 years ago

1.5.2

3 years ago

1.3.4

3 years ago

1.2.5

3 years ago

1.1.6

3 years ago

1.5.1

3 years ago

1.3.3

3 years ago

1.1.5

3 years ago

1.5.0

3 years ago

1.3.2

3 years ago

1.2.3

3 years ago

1.1.4

3 years ago

1.3.1

3 years ago

1.2.2

3 years ago

1.1.3

3 years ago

1.2.1

3 years ago

1.1.2

3 years ago

1.2.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago