Angular Inplace provides an easy to do editing and display at the same time where clicking the output displays the actual content.
Setup
Refer to PrimeNG setup documentation for download and installation steps for your environment.
Import
import {InplaceModule} from 'primeng/inplace';
Getting Started
Inplace requires two templates named display and content to represent the each state.
<p-inplace >
<ng-template pTemplate="display">
Click to Edit
</ng-template>
<ng-template pTemplate="content">
<input type="text" value="PrimeNG" pInputText>
</ng-template>
</p-inplace>
Theming
Inplace supports various themes featuring Material, Bootstrap, Fluent as well as your own custom themes via the Designer tool.
Resources
Visit the PrimeNG Inplace showcase for demos and documentation.