Skip to main content
Version: 4.1.0

CodeSnippetDialogComponent

Hierarchy

  • Component
    • CodeSnippetDialogComponent

Index

Constructors

constructor

  • new CodeSnippetDialogComponent(props: any): CodeSnippetDialogComponent
  • Parameters

    • props: any

    Returns CodeSnippetDialogComponent

Properties

saveDialogOpen

saveDialogOpen: boolean = false

Methods

applyHighlight

  • applyHighlight(code: string): string
  • Parameters

    • code: string

    Returns string

handleDeleteClicked

  • handleDeleteClicked(): Promise<void>
  • Returns Promise<void>

handleExecuteClicked

  • handleExecuteClicked(): Promise<void>
  • Returns Promise<void>

handleNewClicked

  • handleNewClicked(): Promise<void>
  • Returns Promise<void>

handleSaveClicked

  • handleSaveClicked(snippetName: string, categories: string[]): Promise<void>
  • Parameters

    • snippetName: string
    • categories: string[]

    Returns Promise<void>

hideSaveDialog

  • hideSaveDialog(): void
  • Returns void

publicrender

  • render(): Element
  • Returns Element

showSaveDialog

  • showSaveDialog(): void
  • Returns void