The inplace-display slot is what people see. Activating it reveals the editor projected beside Done.
Unlock it plus 108 pro blocks, widgets & layouts — $99 one-time. Lifetime updates, 14-day money-back guarantee.
<ply-inplace>
<span inplace-display>{{ title }}</span>
<input [(ngModel)]="title" aria-label="Title" />
</ply-inplace>TypeScript
import { Component } from '@angular/core';
import { FormsModule } from '@angular/forms';
// Install: npx ply-ui-cli add inplace
// Paths are relative to aliases.components (default: src/app/components)
import { InplaceComponent } from './inplace/inplace.component';
@Component({
selector: 'app-inplace-example',
imports: [
InplaceComponent,
FormsModule
],
template: `...`
})
export class InplaceExampleComponent {
title = 'Quarterly review';
}Install
npx ply-ui-cli add inplace
npx ply-ui-cli add inplace
For AI agents
Copy a prompt with the registry name, CLI install, and import — or add the Ply MCP server.
npx -y ply-ui-mcp
Ply provides standalone components. Import the exact elements you want to use into your component.
// Install: npx ply-ui-cli add inplace
// Paths are relative to aliases.components (default: src/app/components)
import { InplaceComponent } from './inplace/inplace.component';
@Component({
selector: 'app-your-component',
imports: [
InplaceComponent
],
template: `...`
})
export class YourComponent {} API for inplace — generated from JSDoc in the library source.
| API | Member | Type | Default | Description |
|---|---|---|---|---|
ply-inplace | class | string | '' | Extra host classes merged via `cn()`. |
ply-inplace | active | boolean | false | Whether the editor is showing. Two-way bindable. |
Content