-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Icons integration tutorial * Corrections * Corrections #2 --------- Co-authored-by: Bartosz Cylwik <bartosz.cylwik94@gmail.com>
- Loading branch information
Showing
5 changed files
with
826 additions
and
0 deletions.
There are no files selected for viewing
14 changes: 14 additions & 0 deletions
14
site/content/docs/standard/getting-started/icons-integration/index-js.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
--- | ||
|
||
<script type="module"> | ||
// datetimepicker | ||
const datetimepickerCustomization = document.querySelector( | ||
"#datetimepicker-customization" | ||
); | ||
new te.Datetimepicker(datetimepickerCustomization, { | ||
dateTimepickerToggleIconTemplate: `<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-6 h-6"> | ||
<path stroke-linecap="round" stroke-linejoin="round" d="M19.5 5.25l-7.5 7.5-7.5-7.5m15 6l-7.5 7.5-7.5-7.5" /> | ||
</svg>`, | ||
}); | ||
</script> |
23 changes: 23 additions & 0 deletions
23
site/content/docs/standard/getting-started/icons-integration/index-ss.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
--- | ||
--- | ||
|
||
<li class="mb-1 pl-[9px] text-[0.85rem]" data-te-spy-active> | ||
<a href="#introduction">Introduction</a> | ||
</li> | ||
<li class="mb-1 pl-[9px] text-[0.85rem]"> | ||
<a href="#top-layer">Top-layer customization</a> | ||
</li> | ||
<li class="mb-1 pl-[9px] text-[0.85rem]"> | ||
<a href="#options-data-attributes" | ||
>Customization via options and data attributes</a | ||
> | ||
</li> | ||
<li class="mb-1 pl-[9px] text-[0.85rem]"> | ||
<a href="#other-icon-libraries">Other icon libraries</a> | ||
</li> | ||
<li class="mb-1 ml-4 pl-[9px] text-[0.85rem]"> | ||
<a href="#font-awesome">Font Awesome</a> | ||
</li> | ||
<li class="mb-1 ml-4 pl-[9px] text-[0.85rem]"> | ||
<a href="#google-icons">Google icons</a> | ||
</li> |
Oops, something went wrong.