From d081f9b60e243dee871dbc9cc79fb50fdee0f77e Mon Sep 17 00:00:00 2001 From: Geert Selderslaghs Date: Fri, 31 Jan 2025 22:41:32 +0100 Subject: [PATCH 1/7] updated docs: add selected option #577 --- src/select.html | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/select.html b/src/select.html index 3c3acc5..2b69ac4 100644 --- a/src/select.html +++ b/src/select.html @@ -215,6 +215,12 @@

Options

{} Pass options object to select dropdown initialization. + + selected + Array + [] + Default options to be selected on initialization + From 30029f40ffb3bed43e6e9cdb6df210896bb046ee Mon Sep 17 00:00:00 2001 From: Geert Selderslaghs Date: Fri, 31 Jan 2025 22:53:29 +0100 Subject: [PATCH 2/7] updated docs: reverse hunk from 34cfe4ad as of card auto init #579 --- src/cards.html | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/cards.html b/src/cards.html index 4876207..12b87b0 100644 --- a/src/cards.html +++ b/src/cards.html @@ -365,19 +365,6 @@
Card Action Options
- -

Initialization

-
-          Copied!
-          content_copy
-          
-  document.addEventListener('DOMContentLoaded', function() {
-    const elems = document.querySelectorAll('.card');
-    const instances = M.Card.init(elems, {
-      // specify options here
-    });
-  });
-          
         
From 660913e17e6c384111a013264a1cb32fd0ea3ca9 Mon Sep 17 00:00:00 2001 From: Geert Selderslaghs Date: Fri, 31 Jan 2025 23:02:23 +0100 Subject: [PATCH 3/7] updated docs: breadcrumb basic and navbar style variant #573 --- src/breadcrumbs.html | 59 +++++++++++++++++++++++++++++++++----------- 1 file changed, 44 insertions(+), 15 deletions(-) diff --git a/src/breadcrumbs.html b/src/breadcrumbs.html index 0a2a0ab..4e8b861 100644 --- a/src/breadcrumbs.html +++ b/src/breadcrumbs.html @@ -13,27 +13,56 @@
-
-
-

Breadcrumbs are a good way to display your current location. This is usually used when you have multiple layers of content.

-

Basic

+
+
+

Breadcrumbs are a good way to display your current location. This is usually used when you have multiple layers of content.

+

Basic

- +
+
+
+

Navbar style

+ + -
+                        
               Copied!
               content_copy
               
 
-<nav>
+<nav class="breadcrumb-wrapper">
   <div class="nav-wrapper">
     <div class="col s12">
       <a href="#!" class="breadcrumb">First</a>
@@ -45,8 +74,8 @@ <h3 class="header">Basic</h3>
 
               
             
+
-
From d1b1874f5030d329ac55129266ade97b7db59107 Mon Sep 17 00:00:00 2001 From: Geert Selderslaghs Date: Fri, 31 Jan 2025 23:27:04 +0100 Subject: [PATCH 4/7] updated docs: datepicker specified date range options #360 --- src/datepicker.html | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/src/datepicker.html b/src/datepicker.html index d5627d7..d34297c 100644 --- a/src/datepicker.html +++ b/src/datepicker.html @@ -173,10 +173,16 @@
Options
DEPRECATED Callback function when Datepicker is closed. - onDraw - Function + isDateRange + Boolean + false + Condition to enable date range selection. + + + dateRangeEndEl + Selector null - Callback function when Datepicker HTML is refreshed. + (optional) selector for defined end date HTML element. From 484ff05b2fefc113ec5e0ccac5993cd264e37bca Mon Sep 17 00:00:00 2001 From: Geert Selderslaghs Date: Fri, 31 Jan 2025 23:27:26 +0100 Subject: [PATCH 5/7] updated docs: datepicker specified docked display options #140 --- src/datepicker.html | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/datepicker.html b/src/datepicker.html index d34297c..856e055 100644 --- a/src/datepicker.html +++ b/src/datepicker.html @@ -184,6 +184,18 @@
Options
null (optional) selector for defined end date HTML element. + + openByDefault + Boolean + false + Condition show the datepicker in open state by default. + + + onInputInteraction + Function + null + Callback function on input field interaction. +
From 5eeca52fa6597ec30428b1cf8d48139e8420d21a Mon Sep 17 00:00:00 2001 From: Geert Selderslaghs Date: Fri, 31 Jan 2025 23:34:24 +0100 Subject: [PATCH 6/7] updated docs: timepicker specified docked display options #140 --- src/timepicker.html | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/src/timepicker.html b/src/timepicker.html index 3a72ef7..b7406b4 100644 --- a/src/timepicker.html +++ b/src/timepicker.html @@ -126,6 +126,30 @@
Options
null Callback function when a time is selected, first parameter is the hour and the second is the minute. + + onInputInteraction + Function + null + Callback function on input field interaction. + + + autoSubmit + Boolean + true + Condition to auto submit selected date to input field, 'true' condition will remove the confirmation buttons. + + + onDone + Function + null + Callback function on confirm interaction. + + + onCancel + Function + null + Callback function on cancel interaction. +
From 8a3d8ee8bf683648b4d234b37da1ec90f143d94c Mon Sep 17 00:00:00 2001 From: Geert Selderslaghs Date: Fri, 31 Jan 2025 23:47:25 +0100 Subject: [PATCH 7/7] updated docs: navbar add navbar class #573 --- src/navbar.html | 50 ++++++++++++++++++++++++------------------------- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/src/navbar.html b/src/navbar.html index 0d162ae..12c63f4 100644 --- a/src/navbar.html +++ b/src/navbar.html @@ -12,7 +12,7 @@