mdbook-angular 0.5.0

mdbook renderer to run angular code samples
Documentation
# Chapter 4

> collapsed + playground

Inline

```ts angular collapsed playground
import {ChangeDetectionStrategy, Component, Input} from '@angular/core';

@Component({
	standalone: true,
	selector: 'example-inline',
	template: `I'm a good inline example`,
	changeDetection: ChangeDetectionStrategy.OnPush,
})
export class ExampleComponent {
	@Input()
	text = 'lorem ipsum';
}
```

External

{{#angular ./example.ts#ExampleComponent collapsed playground}}