Explanation for the .next() function in angular

后端 未结 1 1913
无人共我
无人共我 2021-02-20 12:58
import { Component, Input, Output, EventEmitter } from \'@angular/core\';

var colorPickerCss = \"app/css/ui/color-picker.css\";
var colorPickerTemplate = \"app/partials         


        
相关标签:
1条回答
  • 2021-02-20 13:30

    An EventEmitter, extends Subject. When you use next, you fire off an event that all subscribers will listen too. See here. emit is the preferred alternative.

    0 讨论(0)
提交回复
热议问题