acss

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2019 License: MIT Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateStyleForClass

func GenerateStyleForClass(class string, custom map[string]string) string

Types

type Generator

type Generator struct {
	Styles strings.Builder

	Exceptions  []string
	BreakPoints map[string]string
	Custom      map[string]string
}

func (*Generator) GenCSS

func (g *Generator) GenCSS(classID, acssAttr string) string

func (*Generator) GetStyles

func (g *Generator) GetStyles() string

func (*Generator) Init

func (g *Generator) Init()

func (*Generator) OnElementInfo

func (g *Generator) OnElementInfo() func(*html.ElementInfo)

Jump to

Keyboard shortcuts

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