Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
angular-5-popup
Advanced tools
Readme
This project was generated with Angular CLI version 1.7.3.
Run ng serve
for a dev server. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
npm i angular-5-popup
import { ScModalModule } from './sc-modal/sc-modal.module';
Add ScModalModule in imports section in your root module. create new component;
In your component file past this code:
import { ModalService } from './sc-modal/modal.service';
export class AppComponent implements OnInit {
@ViewChild("modal") modal: ModalComponent;
constructor(
private ms:ModalService
){
}
openModal(id){
this.modal.openModal(id);
}
closeModal(id){
this.modal.closeModal(id);
}
ngOnInit(){
}
}
<sc-modal id="modal-1" class="default" #modal>
<div class="modal">
<div class="modal-header">
This my title
<button class="sc-modal-close" (click)="closeModal('modal-1');"><i class="fa fa-times-circle fa-2x" aria-hidden="true"></i></button>
</div>
<div class="modal-body">
<h1>A Custom Modal Name</h1>
<p>
Home page text: <input type="text" />
</p>
</div>
</div>
<div class="modal-background"></div>
</sc-modal>
import font-awsome style sheet file into your style.css file. Example Add below line in your style.css/scss
@import 'https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.css'
To get more help on the Angular CLI use ng help
or go check out the Angular CLI README.
FAQs
Angular 5+ modal popup, angular modal popup, angular2 modal popup
The npm package angular-5-popup receives a total of 23 weekly downloads. As such, angular-5-popup popularity was classified as not popular.
We found that angular-5-popup demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.