In multiple places within angular material source, there are elements/ css classes that have cdk
as their prefix.
Does anyone know what the abbreviation for cdk
in angular material context?
The Angular Component Dev Kit (CDK) is a library of predefined behaviors included in Angular Material, a UI component library for Angular developers. It contains reusable logic for many features that are used as common building blocks for the interfaces of Angular applications.
Angular gives developers a way to define these discrete chunks of UI and then compose them into an application. We've built the Component Dev Kit (CDK) to provide high quality predefined behaviors for your components.
The Component Dev Kit (CDK) is a set of tools that implement common interaction patterns whilst being unopinionated about their presentation. It represents an abstraction of the core functionalities found in the Angular Material library, without any styling specific to Material Design.
Overlay is a very important module that is being widely used in Angular Applications. Very often you would need it to implement open floating panels on the screen. On top of this module were built such Angular Material components like Dialog Windows, Tooltips, Select, and so on.
CDK is the short form of component dev kit
. This signifies that these are general-purpose tools for building components that are not coupled to Material Design
From the material2 changelog
core/
, such as Overlay, have had their prefix changed to cdk-
(short for "component dev kit"). This signifies that these are general-purpose tools for building components that are not coupled to Material Design.The old selectors are still available as deprecated but will be removed in the next release. The CSS classes have been changed.For more info on how to use cdk components such as table, overlay, portal, portal host, e.t.c, you can find examples here:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With