card.d.ts 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. /**
  2. * @license
  3. * Copyright Google LLC All Rights Reserved.
  4. *
  5. * Use of this source code is governed by an MIT-style license that can be
  6. * found in the LICENSE file at https://angular.io/license
  7. */
  8. /**
  9. * Content of a card, needed as it's used as a selector in the API.
  10. * @docs-private
  11. */
  12. export declare class MatCardContent {
  13. }
  14. /**
  15. * Title of a card, needed as it's used as a selector in the API.
  16. * @docs-private
  17. */
  18. export declare class MatCardTitle {
  19. }
  20. /**
  21. * Sub-title of a card, needed as it's used as a selector in the API.
  22. * @docs-private
  23. */
  24. export declare class MatCardSubtitle {
  25. }
  26. /**
  27. * Action section of a card, needed as it's used as a selector in the API.
  28. * @docs-private
  29. */
  30. export declare class MatCardActions {
  31. /** Position of the actions inside the card. */
  32. align: 'start' | 'end';
  33. }
  34. /**
  35. * Footer of a card, needed as it's used as a selector in the API.
  36. * @docs-private
  37. */
  38. export declare class MatCardFooter {
  39. }
  40. /**
  41. * Image used in a card, needed to add the mat- CSS styling.
  42. * @docs-private
  43. */
  44. export declare class MatCardImage {
  45. }
  46. /**
  47. * Image used in a card, needed to add the mat- CSS styling.
  48. * @docs-private
  49. */
  50. export declare class MatCardSmImage {
  51. }
  52. /**
  53. * Image used in a card, needed to add the mat- CSS styling.
  54. * @docs-private
  55. */
  56. export declare class MatCardMdImage {
  57. }
  58. /**
  59. * Image used in a card, needed to add the mat- CSS styling.
  60. * @docs-private
  61. */
  62. export declare class MatCardLgImage {
  63. }
  64. /**
  65. * Large image used in a card, needed to add the mat- CSS styling.
  66. * @docs-private
  67. */
  68. export declare class MatCardXlImage {
  69. }
  70. /**
  71. * Avatar image used in a card, needed to add the mat- CSS styling.
  72. * @docs-private
  73. */
  74. export declare class MatCardAvatar {
  75. }
  76. /**
  77. * A basic content container component that adds the styles of a Material design card.
  78. *
  79. * While this component can be used alone, it also provides a number
  80. * of preset styles for common card sections, including:
  81. * - mat-card-title
  82. * - mat-card-subtitle
  83. * - mat-card-content
  84. * - mat-card-actions
  85. * - mat-card-footer
  86. */
  87. export declare class MatCard {
  88. _animationMode?: string | undefined;
  89. constructor(_animationMode?: string | undefined);
  90. }
  91. /**
  92. * Component intended to be used within the `<mat-card>` component. It adds styles for a
  93. * preset header section (i.e. a title, subtitle, and avatar layout).
  94. * @docs-private
  95. */
  96. export declare class MatCardHeader {
  97. }
  98. /**
  99. * Component intended to be used within the `<mat-card>` component. It adds styles for a preset
  100. * layout that groups an image with a title section.
  101. * @docs-private
  102. */
  103. export declare class MatCardTitleGroup {
  104. }