// Type definitions for Notify.js // Project: https://github.com/jpillora/notifyjs // Definitions by: Xiaohan Zhang // Definitions: https://github.com/borisyankov/DefinitelyTyped/ /// declare module Notify { interface Options { /** * Whether to hide the notification on click. Default is true. */ clickToHide?: boolean; /** * Whether to auto-hide the notification (after autoHideDelay milliseconds). Default is true. */ autoHide?: boolean; /** * If autoHide, hide after milliseconds. Default is 5000. */ autoHideDelay?: number; /** * Show the arrow pointing at the element. Default is true. */ arrowShow?: boolean; /** * Arrow size in pixels. Default is 5. */ arrowSize?: number; /** * Position of the notification when created relative to an element. Default is 'bottom left'. */ elementPosition?: string; /** * Position of the notification when created globally. Default is 'top right'. */ globalPosition?: string; /** * Style of the notification. Default is 'bootstrap'. * * For more information on styles, refer to Notify.StyleDefinition. */ style?: string; /** * Class of the notification (string or [string]). Default is 'error'. * * Notify looks through the classes defined in the given style and will apply the CSS * attributes of that style. Additionally, a CSS class of "notifyjs-