Neighbour Problem Manager

    @virtuous/conductor-events

    1.0.0 • Public • Published

    conductor-events

    Event API for Conductor.

    Installation

    Using npm:

    npm i @virtuous/conductor-events -S

    Usage:

    import { onDidPush } from '@virtuous/conductor-events';
    
    const myCallback = id => {
      // do stuff
    };
    
    onDidPush(myCallback);

    API

    Note: Each acallback receives an id parameter representing the route that is in context i.e. the route that is being popped or pushed.

    onWillPush

    onDidPush

    onWillPop

    onDidPop

    onWillReplace

    onDidReplace

    onWillReset

    onDidReset

    Install

    npm i @virtuous/conductor-events

    DownloadsWeekly Downloads

    94

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    5.99 kB

    Total Files

    4

    Last publish

    Collaborators

    • flomueller
    • richardgorman