Skip to content

How to pass more attributes to BlockTemplateCmp #95

@nepso

Description

@nepso

when starting blockUi I can provide only message. Right now I created custom interface BlockTemplateConfig and I am "hijacking" the message to pass whole object like this:
export class BlockTemplateCmp { @Input() message: BlockTemplateConfig; } this.blockUIElement.start({...} as BlockTemplateConfig);

but it would be nice to have in the start method some 3rd attribute like 'context' where anyone can pass any custom data for block template component.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions