How to use onBlur event on Angular2?

前端 未结 7 1268
时光取名叫无心
时光取名叫无心 2020-12-02 21:36

How do you detect an onBlur event in Angular2? I want to use it with


Can anyone help me understand how to use i

7条回答
  •  忘掉有多难
    2020-12-02 22:09

    /*for reich text editor */
      public options: Object = {
        charCounterCount: true,
        height: 300,
        inlineMode: false,
        toolbarFixed: false,
        fontFamilySelection: true,
        fontSizeSelection: true,
        paragraphFormatSelection: true,
    
        events: {
          'froalaEditor.blur': (e, editor) => { this.handleContentChange(editor.html.get()); }}
    

提交回复
热议问题