1.0.0-beta.1 • Published 4 years ago
select-area v1.0.0-beta.1
ScrollToInvalid
@Directive({
selector: '[tadScrollToInvalid]'
})
export class ScrollToInvalidDirective
Directive applied to form. If form is invalid at the moment of submit directive scrolls to the first ivalid form's element.
Usage example
Component:
export class MyDeactivateComponent extends ComponentCanDeactivate {
public canDeactivate(): boolean {
// internal logic
return true;
}
1.0.0-beta.1
4 years ago
1.0.0-beta.0
4 years ago