1.5.5 • Published 2 years ago

@puneet_epigraph/epigraph_configurator_core v1.5.5

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
2 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

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.5.5

2 years ago

1.2.8

2 years ago

1.1.9

2 years ago

1.3.6

2 years ago

1.2.7

2 years ago

1.1.8

2 years ago

1.0.9

2 years ago

1.3.5

2 years ago

1.2.6

2 years ago

1.1.7

2 years ago

1.5.2

2 years ago

1.3.4

2 years ago

1.2.5

2 years ago

1.1.6

2 years ago

1.5.1

2 years ago

1.3.3

2 years ago

1.1.5

2 years ago

1.5.0

2 years ago

1.3.2

2 years ago

1.2.3

2 years ago

1.1.4

2 years ago

1.3.1

2 years ago

1.2.2

2 years ago

1.1.3

2 years ago

1.2.1

2 years ago

1.1.2

2 years ago

1.2.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago