Using a better demo naming system
This commit is contained in:
@ -64,6 +64,6 @@ export class CharacterStyle extends Style {
|
||||
}
|
||||
|
||||
public shadow(value: string, fill: string, color: string): CharacterStyle {
|
||||
return this.addRunProperty(new formatting.Shadow(value, fill, color));
|
||||
return this.addRunProperty(new formatting.Shading(value, fill, color));
|
||||
}
|
||||
}
|
||||
|
@ -119,7 +119,7 @@ export class ParagraphStyle extends Style {
|
||||
}
|
||||
|
||||
public shadow(value: string, fill: string, color: string): ParagraphStyle {
|
||||
return this.addRunProperty(new formatting.Shadow(value, fill, color));
|
||||
return this.addRunProperty(new formatting.Shading(value, fill, color));
|
||||
}
|
||||
|
||||
// --------------------- Paragraph formatting ------------------------ //
|
||||
|
Reference in New Issue
Block a user