File tree Expand file tree Collapse file tree 1 file changed +22
-11
lines changed Expand file tree Collapse file tree 1 file changed +22
-11
lines changed Original file line number Diff line number Diff line change @@ -1239,8 +1239,29 @@ declare namespace PptxGenJS {
1239
1239
export type MediaType = 'audio' | 'online' | 'video'
1240
1240
1241
1241
export interface ImageProps extends PositionProps , DataOrPathProps {
1242
+ /**
1243
+ * Alt Text value ("How would you describe this object and its contents to someone who is blind?")
1244
+ * - PowerPoint: [right-click on an image] > "Edit Alt Text..."
1245
+ */
1246
+ altText ?: string
1247
+ /**
1248
+ * Flip horizontally?
1249
+ * @default false
1250
+ */
1251
+ flipH ?: boolean
1252
+ /**
1253
+ * Flip vertical?
1254
+ * @default false
1255
+ */
1256
+ flipV ?: boolean
1242
1257
hyperlink ?: HyperlinkProps
1243
- placeholder ?: string // 'body' | 'title' | etc.
1258
+ /**
1259
+ * Placeholder type
1260
+ * - values: 'body' | 'header' | 'footer' | 'title' | et. al.
1261
+ * @example 'body'
1262
+ * @see https://docs.microsoft.com/en-us/office/vba/api/powerpoint.ppplaceholdertype
1263
+ */
1264
+ placeholder ?: string
1244
1265
/**
1245
1266
* Image rotation (degrees)
1246
1267
* - range: -360 to 360
@@ -1282,16 +1303,6 @@ declare namespace PptxGenJS {
1282
1303
*/
1283
1304
y ?: number
1284
1305
}
1285
- /**
1286
- * Flip horizontally?
1287
- * @default false
1288
- */
1289
- flipH ?: boolean
1290
- /**
1291
- * Flip vertical?
1292
- * @default false
1293
- */
1294
- flipV ?: boolean
1295
1306
}
1296
1307
/**
1297
1308
* Add media (audio/video) to slide
You can’t perform that action at this time.
0 commit comments