Home > widget-integration > AppService > blockByType
AppService.blockByType() method
Signature:
blockByType(type: string): {
id: string;
document: Element;
blockType?: string;
} | null;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
type |
string |
Returns:
{ id: string; document: Element; blockType?: string; } | null