Documentation
¶
Index ¶
- func New(src string, opts ...Option) application.BaseWidget
- type Option
- func Alt(alt string) Option
- func Class(class string) Option
- func Height(opts ...breakpoint.BreakpointOptions[int]) Option
- func ID(id string) Option
- func MaxWidth(opts ...breakpoint.BreakpointOptions[int]) Option
- func UserSelect(userSelect theme.UserSelectType) Option
- func Width(opts ...breakpoint.BreakpointOptions[int]) Option
- func WidthP(opts ...breakpoint.BreakpointOptions[float64]) Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(src string, opts ...Option) application.BaseWidget
Types ¶
type Option ¶
type Option func(image *image)
func Height ¶
func Height(opts ...breakpoint.BreakpointOptions[int]) Option
func MaxWidth ¶
func MaxWidth(opts ...breakpoint.BreakpointOptions[int]) Option
func UserSelect ¶
func UserSelect(userSelect theme.UserSelectType) Option
func Width ¶
func Width(opts ...breakpoint.BreakpointOptions[int]) Option
func WidthP ¶
func WidthP(opts ...breakpoint.BreakpointOptions[float64]) Option
Click to show internal directories.
Click to hide internal directories.