* Get data from a surface's data model
(surfaceId: string, path: string)
| 877 | * Get data from a surface's data model |
| 878 | */ |
| 879 | getData(surfaceId: string, path: string): DataValue | null { |
| 880 | const surface = this.surfaces.get(surfaceId); |
| 881 | if (!surface) { |
| 882 | return null; |
| 883 | } |
| 884 | return getData(surface.dataModel, path); |
| 885 | } |
| 886 | |
| 887 | /** |
| 888 | * Set data in a surface's data model |
no test coverage detected