attr

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2021 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Checked

func Checked(v bool) string

Checked 根据bool参数值返回html属性checked

func Disabled

func Disabled(v bool) string

Disabled 根据bool参数值返回html属性disabled

func Readonly

func Readonly(v bool) string

Readonly 根据bool参数值返回html属性readonly

func Selected

func Selected(v int, checkValue int) string

Selected 根据参数值返回html属性seleted

Types

This section is empty.

Jump to

Keyboard shortcuts

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