What do you want to save?
Add Code snippet
New code examples
-
Other 2022-03-16 09:30:04
bootstrap hide navbar
const navLinks = document.querySelectorAll('.nav-item') const menuToggle = document.getElementById('navbarSupportedContent') const bsCollapse = new bootstrap.Collapse(menuToggle) navLinks.forEach((l) => { l.addEventListener('click', () => { bsCo... Add solution -
C# 2022-03-14 13:55:02
child component interact with parent component blazor
// 2 methods shown here [Parent.razor] @page "/ParentComponent" <h1>Parent Component</h1> <ChildComponent @bind-Password="_password" /> @code { private string _password; } [ChildComponent.razor] <h1>Chi... Add solution -
Javascript 2022-03-13 04:45:06
javascript touch scroll event
var lastTouch = null window.addEventListener('touchstart', function (event) { lastTouch = event.touches[0] }) window.addEventListener('touchend', function (event) { lastTouch = null }) window.addEventListener('touchmove', function (event) { var c... Add solution -
-
Python 2022-03-13 01:20:11
how to make a discord bot in python
import discord from discord.ext import commands bot = commands.Bot(command_prefix="!", description="The description") @bot.event async def on_ready(): print("Ready !") @bot.command() async def ping(ctx): await ctx... Add solution -
Python 2022-03-13 01:20:06
django date grater
Event.objects.filter(field_data__gte=now.time()) Add solution
Best helpers
+5
+5
+5
+5
+5
+5
+5
+5