Created
March 22, 2018 15:17
-
-
Save csotomon/ea5e5bc71a08bf51337de97bd4edf911 to your computer and use it in GitHub Desktop.
Angular-jQuery app.component.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Component, OnInit } from '@angular/core'; | |
import * as jQuery from 'jquery'; | |
@Component({ | |
selector: 'app-root', | |
templateUrl: './app.component.html', | |
styleUrls: ['./app.component.css'] | |
}) | |
export class AppComponent implements OnInit { | |
title = 'app'; | |
ngOnInit() { | |
jQuery('#divHolaMundo').text('Hola mundo'); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment