How to use the reapop.addNotification function in reapop

To help you get started, we’ve selected a few reapop examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github Kthulu120 / liquid_dl / assets / js / utility / ListValidation.js View on Github external
export const FFMPEGSubmisison = () => {
    let state = store.getState();
    state = validateFFMPEG(state);
    console.log(state);
    store.dispatch(notify({
        title: 'SUCCESS',
        message: 'Sent Command, now processing, notification will be sent when completed',
        status: 'info',
        dismissible: true,
        "buttons": [{
            "name": "OK",
            "primary": true
        }]
    }));
    $.ajax({

        url: 'http://127.0.0.1:8000/liquid-dl/ffmpeg-submit',
        type: 'GET',
        data: {
            inputFormat: state.ffmpeg.inputFormat,
            input_path: state.ffmpeg.input_path,
github Kthulu120 / liquid_dl / assets / js / utility / NotificationFactories.js View on Github external
export const ErrorNotificationFactory = (message) => {
    return store.dispatch(notify({
        title: 'CAUTION',
        message: '' + message,
        status: 'error',
        dismissible: true,
        dismissAfter: 6000,
        "buttons": [{
            "name": "OK",
            "primary": true
        }]
    }));
};
github Kthulu120 / liquid_dl / assets / js / Components / AppContainers / FfmpegConverter / FfmpegValidation.js View on Github external
export const FFMPEGSubmisison = () => {
    let state = store.getState();
    state = validateFFMPEG(state);
    store.dispatch(notify({
        title: 'SUCCESS',
        message: 'Sent Command, now processing, notification will be sent when completed',
        status: 'info',
        dismissible: true,
        "buttons": [{
            "name": "OK",
            "primary": true
        }]
    }));
    $.ajax({

        url: 'http://' + state.global.server_ip + ":" + state.global.server_port + '/liquid-dl/ffmpeg-submit',
        type: 'GET',
        data: {
            operating_system: getOS(),
            input_format: state.ffmpeg.inputFormat,

reapop

A simple & customizable notifications system for React

MIT
Latest version published 8 months ago

Package Health Score

71 / 100
Full package analysis