blockly > serialization > workspaceComments > zapisz
Funkcja serialization.workspaceComments.save()
Serializuje stan danego komentarza w formacie JSON.
Podpis:
export declare function save(comment: WorkspaceComment, { addCoordinates, saveIds, }?: {
addCoordinates?: boolean;
saveIds?: boolean;
}): State;
Parametry
Parametr | Typ | Opis |
---|---|---|
komentarz | WorkspaceComment | |
{ addCoordinates, saveIds, } | { addCoordinates?: boolean; saveIds?: boolean; | (Opcjonalnie) |
Zwroty:
Stan