angular-jsf-components
Version:
JSF Compliant Angular Components
23 lines (19 loc) • 727 B
text/typescript
import {Component, ElementRef, Input} from '@angular/core';
import {Router} from '@angular/router';
import {HFormService} from '../../services/h-form.service';
import {HCommandButtonComponent} from '../h-command-button/h-command-button.component';
({
selector: 'ice-command-button',
templateUrl: './ice-command-button.component.html',
styleUrls: ['./ice-command-button.component.css'],
})
export class IceCommandButtonComponent extends HCommandButtonComponent {
()
partialSubmit: boolean;
constructor(hFormService: HFormService, router: Router, elementRef: ElementRef) {
super(hFormService, router, elementRef);
}
forwardOutput() {
this.action.emit();
}
}