Skip to content

Commit 30ab283

Browse files
committed
feat: init cards
1 parent 0eba77c commit 30ab283

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

packages/materialize

Submodule materialize updated 55 files

src/main.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import { autocompleteDemoData } from "./data-autocomplete";
66
import hljs from "highlight.js";
77
import {
88
Autocomplete,
9+
Cards,
910
Carousel,
1011
CharacterCounter,
1112
Chips,
@@ -259,6 +260,8 @@ document.addEventListener("DOMContentLoaded", () => {
259260

260261
//------ Materialize Components
261262

263+
Cards.init(document.querySelectorAll(".card"));
264+
262265
Carousel.init(document.querySelectorAll(".carousel"), {});
263266
Carousel.init(document.querySelectorAll(".carousel.carousel-slider"), {
264267
fullWidth: true,

0 commit comments

Comments
 (0)