dragdrop

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 2, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

templ: version: v0.2.793

templ: version: v0.2.793

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Item

func Item(props *ItemProps) templ.Component

func List

func List(props *Props) templ.Component

func Showcase

func Showcase() templ.Component

Types

type ItemProps

type ItemProps struct {
	Name    string
	Classes string
	Content templ.Component
}

type Props

type Props struct {
	ID    string            // id of the dragAndDrop container
	Name  string            // name of the dragAndDrop container
	Group string            // allows transfers between 'groups' of the same name
	Items []templ.Component // list of items as templ.Components (inside of the draggable <li>)
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL