Skip to content

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 ​

PropertyTypeDefined in
blockContentBlockpackages/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 ​

ParameterType
blockany

Returns ​

any


toCodeBlock() ​

ts
toCodeBlock(block: any, language: string): any;

Defined in: packages/angular/src/blocks/content-block.component.ts:77

Parameters ​

ParameterType
blockany
languagestring

Returns ​

any


toImageBlock() ​

ts
toImageBlock(block: any): any;

Defined in: packages/angular/src/blocks/content-block.component.ts:69

Parameters ​

ParameterType
blockany

Returns ​

any

Released under the MIT License.