Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@canvas-medical/embed-scheduler

Package Overview
Dependencies
Maintainers
4
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@canvas-medical/embed-scheduler

## CDN Installation

  • 0.0.7
  • npm
  • Socket score

Version published
Weekly downloads
3
Maintainers
4
Weekly downloads
 
Created
Source

Canvas - Embed Scheduler

CDN Installation

  • Add a host container
<div id="embed-root"></div>
  • Add CDN Link to your application
<script src="https://d1avuomfq0werr.cloudfront.net/scheduler.js" type="text/javascript"></script>
  • Add a script tag to initialize application
<script type="text/javascript">
  Scheduler.init({
    api: https://your.api.url,
    appointmentTypeCode: '8675309',
    bailoutURL: https://your.host.site,  // Return user here if they exit early
    duration: 20,
    locationId: 'someID',
    patientId: 'someID',
    patientKey: 'someKey',
    providers: [
      {
        id: 'someID',
        name: 'Some Provider, MD.'
      },
      {
        id: 'someID',
        name: 'Some Provider, MD.'
      }
    ],
    reason: 'some reason for appointment,
    returnURL: https://your.host.site/done, // Send user here when they finish
    rootId: 'embed-root',  // The id of your host container
    brandColor: '#000000',  // Your custom brand color in hex code
    accentColor: '#000000,  // Your custom accent color in hex code
  })
</script>

NPM Installation

Coming soon

FAQs

Package last updated on 16 Feb 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc