tuna9 file matches
Simple functional CSS library for Val Town
getFileEmail4 file matches
A helper function to build a file's email
AutomationFunction1 file match
trmnl_plugins2 file matches
Backend functions for TRMNL plugins
You can access search results via JSON API by adding format=json
to your query:
https://codesearch.val.run/$%7Bsuccess?q=function&page=1&format=json
For typeahead suggestions, use the /typeahead
endpoint:
https://codesearch.val.run/typeahead?q=function
Returns an array of strings in format "username" or "username/projectName"
Found 31542 results for "function"(6180ms)
1/**
2* Initializes a mobile menu toggle functionality.
3* Toggles the visibility of the mobile menu and updates the toggle button icon.
4*/
27* @param {Event} event - The click event
28*/
29function handleToggle(event) {
30event.preventDefault();
31
1/**
2* Initializes a theme toggle functionality.
3* Switches between light and dark modes, updates the toggle button icon, and persists the theme in localStorage.
4*/
46* Initializes the theme based on localStorage when the DOM is fully loaded.
47*/
48function initializeTheme() {
49const savedTheme = localStorage.getItem("theme");
50if (savedTheme === "dark") {
62* @param {Event} event - The click event
63*/
64function handleThemeToggle(event) {
65event.preventDefault();
66