0.1.4 • Published 4 years ago
rivn-component v0.1.4
Implementation
Put the script tag and component in the head of your index.html
<script src="https://unpkg.com/rivn-component/dist/rivn-component/rivn-component.js"></script>
<rivn-component api_key=""></rivn-component>
Put the "display-rivn" attribute on the element that should be clicked in order to display the dialogue
(Example) <button display-rivn>Click me</button>