diff --git a/materialize-css/materialize-css-tests.ts b/materialize-css/materialize-css-tests.ts index 9c9027a972..d9ae8170da 100644 --- a/materialize-css/materialize-css-tests.ts +++ b/materialize-css/materialize-css-tests.ts @@ -122,7 +122,7 @@ var sliderHtml = '
' + $('.carousel').carousel(); $('.carousel').carousel({}); -$('.carousel').carousel({ time_constant: 200, dist: -100, shift: 500, padding: 6000, full_width: 6000 }); +$('.carousel').carousel({ time_constant: 200, dist: -100, shift: 500, padding: 6000, full_width: true }); // Next slide $('.carousel').carousel('next'); @@ -239,4 +239,4 @@ var tabsHtml = '
' + // Transitions Materialize.showStaggeredList('#staggered-test'); -Materialize.updateTextFields(); \ No newline at end of file +Materialize.updateTextFields(); diff --git a/materialize-css/materialize-css.d.ts b/materialize-css/materialize-css.d.ts index 456abea871..2968176ff0 100644 --- a/materialize-css/materialize-css.d.ts +++ b/materialize-css/materialize-css.d.ts @@ -132,10 +132,10 @@ declare namespace Materialize { padding?: number; /** - * Set the duration between transitions in ms. - * Default: 6000 + * Set the width of the carousel. + * Default: false */ - full_width?: number; + full_width?: boolean; } /**