virfon-c2c-widget
v0.0.18
Published
Virfon click to call web
Downloads
1,641
Readme
Virfon Click2Call Web Widget
Extend your Virfon Business Phone System by adding a simple yet useful widget to your company website that will allow your visitors to contact you via a phone call.
Using this component
This is web component that you can embbed within your website by just adding a couple code snippets into your site's source code.
Script tag
- Put a script tag similar to this in the
<head>
of your html files:<script type="module" src='https://unpkg.com/virfon-c2c-widget@latest/dist/virfonc2cwidget/virfonc2cwidget.esm.js'></script>
- Then you can use the element anywhere in your template, JSX, html etc:
<virfon-c2c-widget id="{token}" position="{position}"></virfon-c2c-widget>
- The widget will render on the bottom rigth corner of your website by default. If required, you can make it appear on the bottom left corner by passing
left
value to theposition
attribute in the component code.
Obtaining a token
- You need to authenticate to our services with a unique token that we will provide you. Contact us to obtain a token in order to be able to use the widget.