Skip to content
temberature edited this page Jan 16, 2018 · 3 revisions
  • :class="['mint-button--' + type, 'mint-button--' + size, { 'is-disabled': disabled, 'is-plain': plain }]"

  • <some-element [ngClass]="stringExp|arrayExp|objExp">...

  • <slot></slot>

  • <ng-content></ng-content>

<slot name="icon"></slot> <img src="../assets/100x100.png" height="20" width="20" slot="icon"> <ng-content select=".className|tagName"></ng-content> <img src="../assets/100x100.png" height="20" width="20" class="icon">

https://github.com/Microsoft/TypeScript/wiki/FAQ#why-am-i-getting-the-error-ts5055-cannot-write-file-xxxjs-because-it-would-overwrite-input-file-when-using-javascript-files

Clone this wiki locally