Articles with #angular-cdk

  • Deep Dive into Angular Components: MatDivider
    This series explains how Angular Components are working by diving its source code deeply. MatDivider MatDivider is one of the simplest component in the Angular Material library. It just can display a line separator but its source code is worth to read enough. @Component({ selector: ‘mat-divider’, host: { ‘role’: ‘separator’, ‘[attr.aria-orientation]’: ‘vertical ? "vertical" : "horizontal"’, ‘[class.mat-divider-vertical]’: ‘vertical’, ‘[class.mat-divider-horizontal]’: ‘!vertical’, ‘[class.mat-divider-inset]’: ‘inset’, ‘class’: ‘mat-divider’ }, template: ‘’, styleUrls: [‘divider.css’], encapsulation: ViewEncapsulation.
  • Angular CDK drag-and-drop の紹介
    こんにちは。 この記事では Angular CDK の次期アップデートで提供される、 drag-and-drop 機能を紹介します。 執筆時点ではまだ npm パッケージとして公開されていないので、一般