categories

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(name string, listName string, w *wasm.Wasm, options ...component.Option) (*component.Gear, error)

New constructs a new component that shows a list of categories that are selectable.

Types

type Filter

type Filter struct {
	// contains filtered or unexported fields
}

Filter provides a way of filtering our list by updating our list compoonent.

func (Filter) List

func (f Filter) List(this js.Value, root js.Value)

List will change the list in our "list" component to filter out movies not in categories we are interested in.

Jump to

Keyboard shortcuts

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