@amirsavand/ngx-common - v5.1.0
    Preparing search index...

    Interface TimerInit

    interface TimerInit {
        autoStart: boolean;
        onInvoke: () => void;
        onStart?: () => void;
        onStop?: () => void;
        rate: number;
        repeat: boolean;
    }
    Index

    Properties

    autoStart: boolean

    Start the timer if auto-start is enabled.

    onInvoke: () => void

    Type declaration

      • (): void
      • Invoked on timer invoke.

        Returns void

    onStart?: () => void

    Type declaration

      • (): void
      • Invoked when timer starts.

        Returns void

    onStop?: () => void

    Type declaration

      • (): void
      • Invoked when timer stops.

        Returns void

    rate: number
    repeat: boolean