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?
angular-cdkangular-material2
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?
Best Answer
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 DesignFrom the material2 changelog
core/
, such as Overlay, have had their prefix changed tocdk-
(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: