diff --git a/addon/components/au-loader.gts b/addon/components/au-loader.gts index 958bfa64f..7fd61b2fd 100644 --- a/addon/components/au-loader.gts +++ b/addon/components/au-loader.gts @@ -27,6 +27,7 @@ export interface AuLoaderSignature { Args: { inline?: boolean; hideMessage?: boolean; + centered?: boolean; // Deprecated arguments disableMessage?: boolean; message?: string; @@ -49,9 +50,17 @@ export default class AuLoader extends Component { return this.args.message || 'Aan het laden'; } + get centered() { + if (typeof this.args.centered === 'undefined' || this.args.centered) { + return 'au-u-text-center'; + } + + return ''; + } +