@microsoft/mgt-element
Advanced tools
Comparing version
@@ -17,2 +17,4 @@ /** | ||
* @extends {MgtBaseComponent} | ||
* | ||
* @fires templateRendered - fires when a template is rendered | ||
*/ | ||
@@ -19,0 +21,0 @@ export declare abstract class MgtTemplatedComponent extends MgtBaseComponent { |
@@ -18,2 +18,4 @@ /** | ||
* @extends {MgtBaseComponent} | ||
* | ||
* @fires templateRendered - fires when a template is rendered | ||
*/ | ||
@@ -20,0 +22,0 @@ export class MgtTemplatedComponent extends MgtBaseComponent { |
@@ -130,2 +130,5 @@ /** | ||
} | ||
else if (r.headers['Content-Type'].includes('image/pjpeg')) { | ||
response.content = 'data:image/pjpeg;base64,' + r.body; | ||
} | ||
else { | ||
@@ -132,0 +135,0 @@ response.content = r.body; |
{ | ||
"name": "@microsoft/mgt-element", | ||
"version": "2.2.0-preview.94da467", | ||
"version": "2.2.0-preview.95603a4", | ||
"description": "Microsoft Graph Toolkit base classes", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/microsoftgraph/microsoft-graph-toolkit", |
@@ -38,2 +38,4 @@ /** | ||
* @extends {MgtBaseComponent} | ||
* | ||
* @fires templateRendered - fires when a template is rendered | ||
*/ | ||
@@ -40,0 +42,0 @@ export abstract class MgtTemplatedComponent extends MgtBaseComponent { |
@@ -190,2 +190,4 @@ /** | ||
response.content = 'data:image/jpeg;base64,' + r.body; | ||
} else if (r.headers['Content-Type'].includes('image/pjpeg')) { | ||
response.content = 'data:image/pjpeg;base64,' + r.body; | ||
} else { | ||
@@ -192,0 +194,0 @@ response.content = r.body; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
1010847
0.08%6998
0.16%