1.2.7 • Published 5 years ago

mpa-booking-widget v1.2.7

Weekly downloads
-
License
ISC
Repository
-
Last release
5 years ago

MyProfiApp Web Widget

Methods

  • configure(baseUrl, apiKey)
  • show()

Use with es6 imports

import MPABookingWidget from 'mpa-booking-widget';

const widget = new MPABookingWidget();
widget.configure('https://myprofiapp.nl', '********');
widget.show();

Use with script from cdn

<html>
<head>
    <script src="https://cdn.jsdelivr.net/npm/mpa-booking-widget"></script>
</head>
<body>
<script>
    var widget = new MPABookingWidget();
    widget.configure('https://myprofiapp.nl', '********');
    widget.show();
</script>
</body>
</html>