utils

package
v1.1.36 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Map added in v1.1.26

func Map[T any](transformer Transformer[T], elems ...T) htmx.Node

Map is a function that maps a transformer to a list of htmx.Node.

Types

type Transformer

type Transformer[T any] func(el T) htmx.Node

Transformer is a function that transforms a node.

Jump to

Keyboard shortcuts

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