Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IHint

Hierarchy

  • Hint
    • IHint

Index

Properties

Optional className

className: string

Optional deprecationReason

deprecationReason: Maybe<string>

Optional description

description: Maybe<string>

Optional displayText

displayText: string

Optional from

from: Position

Optional hint

hint: (cm: Editor, data: Hints, cur: Hint) => void

Called if a completion is picked. If provided you are responsible for applying the completion

Type declaration

    • (cm: Editor, data: Hints, cur: Hint): void
    • Parameters

      • cm: Editor
      • data: Hints
      • cur: Hint

      Returns void

Optional isDeprecated

isDeprecated: boolean

Optional render

render: (element: HTMLLIElement, data: Hints, cur: Hint) => void

Type declaration

    • (element: HTMLLIElement, data: Hints, cur: Hint): void
    • Parameters

      • element: HTMLLIElement
      • data: Hints
      • cur: Hint

      Returns void

text

text: string

Optional to

to: Position

Optional type

type: Maybe<GraphQLType>

Generated using TypeDoc