1.0.19 • Published 1 year ago

tictop-ticket v1.0.19

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year 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

1 year ago

1.0.18

1 year ago

1.0.17

1 year ago

1.0.16

1 year ago

1.0.15

2 years ago

1.0.11

2 years ago

1.0.10

2 years ago

1.0.14

2 years ago

1.0.13

2 years ago

1.0.12

2 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago

0.0.1

3 years ago