iX button docs are not accurate

Hi everyone,

While I was developing with iX, I noticed some inconsistency in the docs, in specific, the code examples in Angular for the buttons primary outline & primary ghost are the same, although I think this is not intended.

you are right - it should probably look like this:

import { Component } from '@angular/core';

@Component({
  selector: 'app-example',
  template: buttonSecondary(),
})
export default class Buttons {}
function buttonSecondary(): string | undefined {
  return `
      <ix-button class="m-1" outline variant="primary">
        Button
      </ix-button>
      <ix-button class="m-1" disabled outline variant="primary">
        Button
      </ix-button>
  `;
}

This looks like a copy/paste error in the documentation to me.

Update: I created an issue in the iX repository to track this.

2 Likes

This is now fixed, see Buttons | Siemens Industrial Experience