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

dayschedule-widget

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dayschedule-widget

Appointment scheduling widget to embed the booking calendar on your website for 1:1, round-robin and group bookings with Google meet, Zoom and MS Teams integrations

  • 1.0.4
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
63
decreased by-12.5%
Maintainers
1
Weekly downloads
 
Created
Source

dayschedule-widget

version license hits per month

Appointment scheduling widget to embed the booking calendar on your website for 1:1, round-robin and group bookings with Google meet, Zoom and MS Teams integrations

appointment scheduling widget

Installation

Install the dayschedule-widget from NPM

npm i dayschedule-widget

Setup

Add dayschedule-widget.css stylesheet and the JavaScript dayschedule-widget.js library into your website HTML head section:

<link href="/dist/dayschedule-widget.css" rel="stylesheet" />
<script src="/dist/dayschedule-widget.js" defer></script>

CDN

Alternatively, you can install from CDN for better performance and caching globally:

For example:

<link href="https://cdn.jsdelivr.net/npm/dayschedule-widget@1.0.2/dist/dayschedule-widget.css" rel="stylesheet" />
<script src="https://cdn.jsdelivr.net/npm/dayschedule-widget@1.0.2/dist/dayschedule-widget.min.js" defer></script>

Usage

Call the daySchedule.initPopupWidget(...) function from any button or link from your website to open the scheduling popup:

<button type="button" 
	onClick="daySchedule.initPopupWidget({ url: 'https://meet.dayschedule.com' });">
	Book an appointment
</button>

Examples

  1. Inline example - See code
  2. Popup example - See code

Widget Types

There are 2 types of embed option available on DaySchedule for appointment bookings:

  1. Popup widget
  2. Inline widget

Popup widget

To embed as a button and open the appointment scheduling popup when clicked:

daySchedule.initPopupWidget({
	url: 'https://meet.dayschedule.com',
	color: {
		primary: '#0f0980',
		secondary: '#afeefe'
	}
});

Inline widget

To embed the inline appointment scheduling plugin in HTML

<dayschedule-widget url='https://meet.dayschedule.com' options='{ "color": {
        "primary": "#0f0980",
        "secondary": "#afeefe"
    }}'></dayschedule-widget>

Options

Here is the list of options available to customize your appointment look and feel to match up with your website and brand :

NameDescription
urlTo set your main scheduling link or single event link
colorTo set primary and secondary color of your appointment calendar, e.g. {color: {primary: '#0f0980', secondary: '#afeefe' }}
questionsTo auto fill registration form questions, e.g. {questions: {name : 'Vikash'}}
hideHeaderTo hide the header { hideHeader: true }
hideEventTo hide the event details from calendar view { hideEvent: true }

Keywords

FAQs

Package last updated on 30 Jan 2023

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