otp-component-wu
Version:
How to build libraries with Angular (2, 4, 5...)
24 lines (19 loc) • 468 B
text/typescript
import { Injectable } from '@angular/core';
declare var $: any;
()
export class EventsJqueryFunction {
openLoader() {
$(".loader").removeClass("hidden");
}
closeLoader() {
$(".loader").addClass("hidden");
}
openModal() {
this.closeLoader();
$("#modalSimula").modal("show");
}
closeModal() {
this.closeLoader();
$("#modalSimula").modal("toggle");
}
}