0.1.3 • Published 9 years ago

komentify v0.1.3

Weekly downloads
2
License
MIT
Repository
github
Last release
9 years ago

Javascript integration

The javascript integration is installable over npm

npm install --save komentify

How to use

import komentify from 'komentify'

const komentifyInstance = komentify({
  appId: 'myAppId',
  elementId: 'myDivWrapperId'
})

console.log(komentifyInstance.getScriptSnippet())

The options that can be specified are:

  • appId The App ID that can be found in the komentify backend
  • elementId ID of element that should contain the component
  • siteId (optional) ID that specifies the current site that is viewed