1.0.19 • Published 7 months ago

tictop-ticket v1.0.19

Weekly downloads
-
License
ISC
Repository
-
Last release
7 months ago

Tictop Ticket

Tictop Ticket help you create tictop.app's task from your website.

Installation

Install the package with:

npm i tictop-ticket

Usage

Creating task from your website

# Step 1. Using with javascript code
import tictopTicket from 'tictop-ticket';

# Step 2. Getting your token from www.tictop.app
const token = 'Your token'

# Step 3. Initialize and open first time
const options = {
    zIndex: 100
}

const requesterInfo = {
    id: "Requester's id",
    rootId: "",
    firstName: "Requester's first name",
    lastName: "Requester's last name",
    email: "Requester's email",
}

tictopTicket.initializeApp(token, options, requesterInfo)

# You can customize with your button
tictopTicket.ticket().open()

Subscribe receive notification

tictopTicket.ticket().subscribeReceiveNotification((data) => {
  console.log("🚀 Tictop ~ data:", data)

  # You can do something with notification from Tictop
});

Contributing

Website: www.tictop.vn

Application: www.tictop.app

Email: services@tictop.app

Mobile phone: (+84) 966 268 310

Hotline: (024) 99 99 96 98

License

MIT

1.0.19

7 months ago

1.0.18

7 months ago

1.0.17

7 months ago

1.0.16

7 months ago

1.0.15

11 months ago

1.0.11

1 year ago

1.0.10

1 year ago

1.0.14

1 year ago

1.0.13

1 year ago

1.0.12

1 year ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago

0.0.1

2 years ago