@types/react-plotly.js
Advanced tools
@@ -20,8 +20,8 @@ // Type definitions for react-plotly.js 2.2 | ||
| layout: Partial<Plotly.Layout>; | ||
| frames?: Plotly.Frame[]; | ||
| config?: Partial<Plotly.Config>; | ||
| frames?: Plotly.Frame[] | undefined; | ||
| config?: Partial<Plotly.Config> | undefined; | ||
| /** | ||
| * When provided, causes the plot to update only when the revision is incremented. | ||
| */ | ||
| revision?: number; | ||
| revision?: number | undefined; | ||
| /** | ||
@@ -32,3 +32,3 @@ * Callback executed after plot is initialized. | ||
| */ | ||
| onInitialized?: (figure: Readonly<Figure>, graphDiv: Readonly<HTMLElement>) => void; | ||
| onInitialized?: ((figure: Readonly<Figure>, graphDiv: Readonly<HTMLElement>) => void) | undefined; | ||
| /** | ||
@@ -39,3 +39,3 @@ * Callback executed when when a plot is updated due to new data or layout, or when user interacts with a plot. | ||
| */ | ||
| onUpdate?: (figure: Readonly<Figure>, graphDiv: Readonly<HTMLElement>) => void; | ||
| onUpdate?: ((figure: Readonly<Figure>, graphDiv: Readonly<HTMLElement>) => void) | undefined; | ||
| /** | ||
@@ -46,3 +46,3 @@ * Callback executed when component unmounts, before Plotly.purge strips the graphDiv of all private attributes. | ||
| */ | ||
| onPurge?: (figure: Readonly<Figure>, graphDiv: Readonly<HTMLElement>) => void; | ||
| onPurge?: ((figure: Readonly<Figure>, graphDiv: Readonly<HTMLElement>) => void) | undefined; | ||
| /** | ||
@@ -52,51 +52,51 @@ * Callback executed when a plotly.js API method rejects | ||
| */ | ||
| onError?: (err: Readonly<Error>) => void; | ||
| onError?: ((err: Readonly<Error>) => void) | undefined; | ||
| /** | ||
| * id assigned to the <div> into which the plot is rendered. | ||
| */ | ||
| divId?: string; | ||
| divId?: string | undefined; | ||
| /** | ||
| * applied to the <div> into which the plot is rendered | ||
| */ | ||
| className?: string; | ||
| className?: string | undefined; | ||
| /** | ||
| * used to style the <div> into which the plot is rendered | ||
| */ | ||
| style?: React.CSSProperties; | ||
| style?: React.CSSProperties | undefined; | ||
| /** | ||
| * Assign the graph div to window.gd for debugging | ||
| */ | ||
| debug?: boolean; | ||
| debug?: boolean | undefined; | ||
| /** | ||
| * When true, adds a call to Plotly.Plot.resize() as a window.resize event handler | ||
| */ | ||
| useResizeHandler?: boolean; | ||
| useResizeHandler?: boolean | undefined; | ||
| onAfterExport?: () => void; | ||
| onAfterPlot?: () => void; | ||
| onAnimated?: () => void; | ||
| onAnimatingFrame?: (event: Readonly<Plotly.FrameAnimationEvent>) => void; | ||
| onAnimationInterrupted?: () => void; | ||
| onAutoSize?: () => void; | ||
| onBeforeExport?: () => void; | ||
| onButtonClicked?: (event: Readonly<Plotly.ButtonClickEvent>) => void; | ||
| onClick?: (event: Readonly<Plotly.PlotMouseEvent>) => void; | ||
| onClickAnnotation?: (event: Readonly<Plotly.ClickAnnotationEvent>) => void; | ||
| onDeselect?: () => void; | ||
| onDoubleClick?: () => void; | ||
| onFramework?: () => void; | ||
| onHover?: (event: Readonly<Plotly.PlotMouseEvent>) => void; | ||
| onLegendClick?: (event: Readonly<Plotly.LegendClickEvent>) => boolean; | ||
| onLegendDoubleClick?: (event: Readonly<Plotly.LegendClickEvent>) => boolean; | ||
| onRelayout?: (event: Readonly<Plotly.PlotRelayoutEvent>) => void; | ||
| onRestyle?: (event: Readonly<Plotly.PlotRestyleEvent>) => void; | ||
| onRedraw?: () => void; | ||
| onSelected?: (event: Readonly<Plotly.PlotSelectionEvent>) => void; | ||
| onSelecting?: (event: Readonly<Plotly.PlotSelectionEvent>) => void; | ||
| onSliderChange?: (event: Readonly<Plotly.SliderChangeEvent>) => void; | ||
| onSliderEnd?: (event: Readonly<Plotly.SliderEndEvent>) => void; | ||
| onSliderStart?: (event: Readonly<Plotly.SliderStartEvent>) => void; | ||
| onTransitioning?: () => void; | ||
| onTransitionInterrupted?: () => void; | ||
| onUnhover?: (event: Readonly<Plotly.PlotMouseEvent>) => void; | ||
| onAfterExport?: (() => void) | undefined; | ||
| onAfterPlot?: (() => void) | undefined; | ||
| onAnimated?: (() => void) | undefined; | ||
| onAnimatingFrame?: ((event: Readonly<Plotly.FrameAnimationEvent>) => void) | undefined; | ||
| onAnimationInterrupted?: (() => void) | undefined; | ||
| onAutoSize?: (() => void) | undefined; | ||
| onBeforeExport?: (() => void) | undefined; | ||
| onButtonClicked?: ((event: Readonly<Plotly.ButtonClickEvent>) => void) | undefined; | ||
| onClick?: ((event: Readonly<Plotly.PlotMouseEvent>) => void) | undefined; | ||
| onClickAnnotation?: ((event: Readonly<Plotly.ClickAnnotationEvent>) => void) | undefined; | ||
| onDeselect?: (() => void) | undefined; | ||
| onDoubleClick?: (() => void) | undefined; | ||
| onFramework?: (() => void) | undefined; | ||
| onHover?: ((event: Readonly<Plotly.PlotMouseEvent>) => void) | undefined; | ||
| onLegendClick?: ((event: Readonly<Plotly.LegendClickEvent>) => boolean) | undefined; | ||
| onLegendDoubleClick?: ((event: Readonly<Plotly.LegendClickEvent>) => boolean) | undefined; | ||
| onRelayout?: ((event: Readonly<Plotly.PlotRelayoutEvent>) => void) | undefined; | ||
| onRestyle?: ((event: Readonly<Plotly.PlotRestyleEvent>) => void) | undefined; | ||
| onRedraw?: (() => void) | undefined; | ||
| onSelected?: ((event: Readonly<Plotly.PlotSelectionEvent>) => void) | undefined; | ||
| onSelecting?: ((event: Readonly<Plotly.PlotSelectionEvent>) => void) | undefined; | ||
| onSliderChange?: ((event: Readonly<Plotly.SliderChangeEvent>) => void) | undefined; | ||
| onSliderEnd?: ((event: Readonly<Plotly.SliderEndEvent>) => void) | undefined; | ||
| onSliderStart?: ((event: Readonly<Plotly.SliderStartEvent>) => void) | undefined; | ||
| onTransitioning?: (() => void) | undefined; | ||
| onTransitionInterrupted?: (() => void) | undefined; | ||
| onUnhover?: ((event: Readonly<Plotly.PlotMouseEvent>) => void) | undefined; | ||
| } | ||
@@ -103,0 +103,0 @@ |
| MIT License | ||
| Copyright (c) Microsoft Corporation. All rights reserved. | ||
| Copyright (c) Microsoft Corporation. | ||
@@ -5,0 +5,0 @@ Permission is hereby granted, free of charge, to any person obtaining a copy |
| { | ||
| "name": "@types/react-plotly.js", | ||
| "version": "2.2.4", | ||
| "version": "2.2.5", | ||
| "description": "TypeScript definitions for react-plotly.js", | ||
| "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-plotly.js", | ||
| "license": "MIT", | ||
@@ -19,3 +20,3 @@ "contributors": [ | ||
| "main": "", | ||
| "types": "index", | ||
| "types": "index.d.ts", | ||
| "repository": { | ||
@@ -31,4 +32,4 @@ "type": "git", | ||
| }, | ||
| "typesPublisherContentHash": "33e8ab4be9bdff8ca3a6ff21b82c19e0df868c74aafd5ecd85598d55850afd19", | ||
| "typeScriptVersion": "2.8" | ||
| "typesPublisherContentHash": "8cb093667a6e704d2be678c10a3f4979fd6e0c4c0944ee2ea1b667fe284ff424", | ||
| "typeScriptVersion": "3.6" | ||
| } |
@@ -8,10 +8,10 @@ # Installation | ||
| # Details | ||
| Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-plotly.js | ||
| Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-plotly.js. | ||
| Additional Details | ||
| * Last updated: Wed, 25 Sep 2019 16:40:35 GMT | ||
| * Dependencies: @types/plotly.js, @types/react | ||
| ### Additional Details | ||
| * Last updated: Wed, 07 Jul 2021 17:33:54 GMT | ||
| * Dependencies: [@types/plotly.js](https://npmjs.com/package/@types/plotly.js), [@types/react](https://npmjs.com/package/@types/react) | ||
| * Global values: none | ||
| # Credits | ||
| These definitions were written by Jon Freedman <https://github.com/jonfreedman>, and Mitchell Grice <https://github.com/gricey432>. | ||
| These definitions were written by [Jon Freedman](https://github.com/jonfreedman), and [Mitchell Grice](https://github.com/gricey432). |
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
7719
9.85%0
-100%