ui-codemirror icon indicating copy to clipboard operation
ui-codemirror copied to clipboard

Added dependency injection and blur event

Open morellodev opened this issue 7 years ago • 0 comments

Hi, this pull request contains the following changes:

  • added dependency injection for "$timeout" and "uiCodemirrorConfig" to uiCodemirrorDirective
  • fixed a typo ("codemirrot" -> "codemirror")
  • emit HTML "blur" event when codemirror instance loses focus (this is required, for example, to update ngModel on blur through ngModelOptions)

Thanks!

morellodev avatar Jan 31 '19 11:01 morellodev