@types/prosemirror-dropcursor
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -17,5 +17,10 @@ // Type definitions for prosemirror-dropcursor 1.0 | ||
* @param options These options are supported: | ||
* @param options.class A CSS class name to add to the cursor element. | ||
* @param options.color The color of the cursor. Defaults to `black`. | ||
* @param options.width The precise width of the cursor in pixels. Defaults to 1. | ||
*/ | ||
export function dropCursor(options?: { color?: string | null | undefined; width?: number | null | undefined }): Plugin; | ||
export function dropCursor(options?: { | ||
class?: string | null | undefined; | ||
color?: string | null | undefined; | ||
width?: number | null | undefined; | ||
}): Plugin; |
{ | ||
"name": "@types/prosemirror-dropcursor", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "TypeScript definitions for prosemirror-dropcursor", | ||
@@ -35,4 +35,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/prosemirror-dropcursor", | ||
}, | ||
"typesPublisherContentHash": "7ef2616626b222a7ab9e096d1482d0528e967ea545eae3c4dd905f01de05fe5b", | ||
"typeScriptVersion": "3.6" | ||
"typesPublisherContentHash": "32f564ccd7721d97ffab2d1572071d77a4e6dd1902b118b29189f7c896d7166b", | ||
"typeScriptVersion": "3.7" | ||
} |
@@ -27,6 +27,11 @@ # Installation | ||
* @param options These options are supported: | ||
* @param options.class A CSS class name to add to the cursor element. | ||
* @param options.color The color of the cursor. Defaults to `black`. | ||
* @param options.width The precise width of the cursor in pixels. Defaults to 1. | ||
*/ | ||
export function dropCursor(options?: { color?: string | null | undefined; width?: number | null | undefined }): Plugin; | ||
export function dropCursor(options?: { | ||
class?: string | null | undefined; | ||
color?: string | null | undefined; | ||
width?: number | null | undefined; | ||
}): Plugin; | ||
@@ -36,3 +41,3 @@ ```` | ||
### Additional Details | ||
* Last updated: Wed, 07 Jul 2021 17:02:38 GMT | ||
* Last updated: Mon, 23 Aug 2021 20:18:30 GMT | ||
* Dependencies: [@types/prosemirror-state](https://npmjs.com/package/@types/prosemirror-state) | ||
@@ -39,0 +44,0 @@ * Global values: none |
5301
23
46