@types/acc-wizard
TypeScript icon, indicating that this package has built-in type declarations

0.0.35 • Public • Published

Installation

npm install --save @types/acc-wizard

Summary

This package contains type definitions for acc-wizard (https://github.com/sathomas/acc-wizard).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/acc-wizard.

index.d.ts

interface AccWizardOptions {
    /**
     * @summary Add next/prev buttons to panels.
     */
    addButtons: boolean;

    /**
     * @summary Selector for task sidebar.
     */
    sidebar: string;

    /**
     * @summary Class to indicate the active task in sidebar.
     */
    activeClass: string;

    /**
     * @summary Class to indicate task is complete.
     */
    completedClass: string;

    /**
     * @summary Class to indicate task is still pending.
     */
    todoClass: string;

    /**
     * @summary Class for step buttons within panels.
     */
    stepClass: string;

    /**
     * @summary Text for next button.
     */
    nextText: string;

    /**
     * @summary Text for back button.
     */
    backText: string;

    /**
     * @summary HTML input type for next button. (default: "submit")
     */
    nextType: string;

    /**
     * @summary HTML input type for back button. (default: "reset")
     */
    backType: string;

    /**
     * @summary Class(es) for next button.
     */
    nextClasses: string;

    /**
     * @summary Class(es) for back button.
     */
    backClasses: string;

    /**
     * @summary Auto-scrolling.
     */
    autoScrolling: boolean;

    /**
     * @summary Function to call on next step.
     */
    onNext: Function;

    /**
     * @summary Function to call on back up.
     */
    onBack: Function;

    /**
     * @summary A chance to hook initialization.
     */
    onInit: Function;

    /**
     * @summary A chance to hook destruction.
     */
    onDestroy: Function;
}

/**
 * @summary Interface for "acc-wizard" JQuery plugin.
 * @author  Cyril Schumacher
 * @version 1.0
 */
interface JQuery {
    accwizard(options?: AccWizardOptions): void;
}

Additional Details

  • Last updated: Tue, 30 Jan 2024 21:35:45 GMT
  • Dependencies: none

Credits

These definitions were written by Cyril Schumacher.

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i @types/acc-wizard

      Weekly Downloads

      15

      Version

      0.0.35

      License

      MIT

      Unpacked Size

      6.06 kB

      Total Files

      5

      Last publish

      Collaborators

      • types