AIDK API Reference / aidk-angular / ContentBlockComponent
Class: ContentBlockComponent ​
Defined in: packages/angular/src/blocks/content-block.component.ts:66
Constructors ​
Constructor ​
ts
new ContentBlockComponent(): ContentBlockComponent;Returns ​
ContentBlockComponent
Properties ​
| Property | Type | Defined in |
|---|---|---|
block | ContentBlock | packages/angular/src/blocks/content-block.component.ts:67 |
Methods ​
executableToCodeBlock() ​
ts
executableToCodeBlock(block: any): any;Defined in: packages/angular/src/blocks/content-block.component.ts:81
Parameters ​
| Parameter | Type |
|---|---|
block | any |
Returns ​
any
toCodeBlock() ​
ts
toCodeBlock(block: any, language: string): any;Defined in: packages/angular/src/blocks/content-block.component.ts:77
Parameters ​
| Parameter | Type |
|---|---|
block | any |
language | string |
Returns ​
any
toImageBlock() ​
ts
toImageBlock(block: any): any;Defined in: packages/angular/src/blocks/content-block.component.ts:69
Parameters ​
| Parameter | Type |
|---|---|
block | any |
Returns ​
any