codemirror-json-schema / JSONHover
• new JSONHover(opts?
)
Name | Type |
---|---|
opts? |
HoverOptions |
▸ doHover(view
, pos
, side
): Promise
<null
| Tooltip
>
Name | Type |
---|---|
view |
EditorView |
pos |
number |
side |
Side |
Promise
<null
| Tooltip
>
▸ Private
formatMessage(texts
): HTMLElement
Name | Type |
---|---|
texts |
HoverTexts |
HTMLElement
▸ getDataForCursor(view
, pos
, side
): null
| CursorData
Name | Type |
---|---|
view |
EditorView |
pos |
number |
side |
Side |
null
| CursorData
▸ getHoverTexts(data
, draft
): HoverTexts
Name | Type |
---|---|
data |
Required <CursorData > |
draft |
Draft |
HoverTexts
• Private
mode: JSONMode
= MODES.JSON
• Private
Optional
opts: HoverOptions
• Private
schema: null
| Draft
= null