@Input() set materializeDropdownStream(stream$:Observable<any>) {
   this.stream$ = stream$;
 }
示例#2
0
 /**
  * Returns whether or not the popover is currently being shown
  */
 @Input()
 public get isOpen(): boolean { return this._popover.isShown; }
 /** group 的 label,支持 'string' 和 `TemplateRef` */
 @Input()
 set nzLabel(value: string | TemplateRef<void>) {
   this.isLabelString = !(value instanceof TemplateRef);
   this._label = value;
 }
示例#4
0
 @HostBinding("class.active")
 @Input()
 public get isActive():boolean {
     return this._isActive;
 }
示例#5
0
 @Input("waitingFor")
 set loadingProp(prop: string) {
     this._loadingProp = prop
 }
示例#6
0
 @Input() set content(content: string){
   const parsed = marked.parse(content.trim());
   this.contentPlaceholder.nativeElement.innerHTML = parsed;
 }
示例#7
0
 @Input()
 public get placeholder():string {
     return this._placeholder || this.localeValues.single.placeholder;
 }
示例#8
0
 @Input('mat-autosize')
 get matAutosize(): boolean { return this.enabled; }
示例#9
0
 @Input()
 get matTextareaAutosize(): boolean { return this.enabled; }
示例#10
0
 @Input()
 get matAutosizeMinRows(): number { return this.minRows; }