Skip to content

Notification API#613

Open
yofukashino wants to merge 20 commits intoreplugged-org:mainfrom
yofukashino:notification-api
Open

Notification API#613
yofukashino wants to merge 20 commits intoreplugged-org:mainfrom
yofukashino:notification-api

Conversation

@yofukashino
Copy link
Contributor

An API for in app notification

@fedeericodl fedeericodl added enhancement New feature or request semver: minor Requires a minor semver version bump labels May 7, 2024
@netlify
Copy link

netlify bot commented Apr 8, 2025

Deploy Preview for replugged-docs failed.

Name Link
🔨 Latest commit 7f6e97c
🔍 Latest deploy log https://app.netlify.com/sites/replugged-docs/deploys/67f5072982cee7000819bd32

@yofukashino
Copy link
Contributor Author

An example

const notif = replugged.notification.NotificationAPI.coremod("Notification")
notif.notify({
    timeout: 60000,
    type: "danger",
    header: "DANGER",
    gradient: ["#FF0000", "#F00000"],
    content: "CLOSE YOUR CLIENT YOU ARE GETTING TRACKED!"
})

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request semver: minor Requires a minor semver version bump

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants