mirror of
https://github.com/aspnet/JavaScriptServices.git
synced 2025-12-25 02:57:31 +00:00
Example of using PrimeNG
This commit is contained in:
@@ -14,3 +14,7 @@
|
||||
<li><strong>Hot module replacement</strong>. In development mode, you don't even need to reload the page after making most changes. Within seconds of saving changes to files, your Angular 2 app will be rebuilt and a new instance injected is into the page.</li>
|
||||
<li><strong>Efficient production builds</strong>. In production mode, development-time features are disabled, and the <code>webpack</code> build tool produces minified static CSS and JavaScript files.</li>
|
||||
</ul>
|
||||
|
||||
<h1>PrimeNG example</h1>
|
||||
Rating: {{ ratingValue }}
|
||||
<p-rating [(ngModel)]="ratingValue"></p-rating>
|
||||
|
||||
@@ -5,4 +5,5 @@ import { Component } from '@angular/core';
|
||||
template: require('./home.component.html')
|
||||
})
|
||||
export class HomeComponent {
|
||||
public ratingValue: number;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user