Documentation ¶
Index ¶
- Constants
- type HTML
- func (h HTML) GetBoilerplate(elements acorntypes.AcornComponents, withoutMargins *bool) string
- func (h HTML) NewAccordion(params []*acorntypes.AccordionParams) string
- func (h HTML) NewAlert(params *acorntypes.AlertParams) string
- func (h HTML) NewButton(params *acorntypes.ButtonParams) string
- func (h HTML) NewContent(params *acorntypes.ContentParams) string
- func (h HTML) NewCoupon(params *acorntypes.CouponParams) string
- func (h HTML) NewDivider(color *acorntypes.Color) string
- func (h HTML) NewGrid(rows [][]*acorntypes.ColumnParams) string
- func (h HTML) NewImage(params *acorntypes.ImageParams) string
- func (h HTML) NewLabel(params *acorntypes.LabelParams) string
- func (h HTML) NewPromo(items *acorntypes.PromoItems) string
- func (h HTML) NewRow(params []*acorntypes.ColumnParams) string
- func (h HTML) NewSpacer() string
- func (h HTML) NewTestimonial(params *acorntypes.TestimonialParams) string
- func (h HTML) NewTimeline(params []*acorntypes.TimelineParams) string
Constants ¶
View Source
const ( // Timeline image base64 encode IMAGE_TIMELINE = "" /* 4302-byte string literal not displayed */ // Testimonial image base64 encode IMAGE_TESTIMONIAL = "" /* 1826-byte string literal not displayed */ )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTML ¶
type HTML struct{}
HTML element
func (HTML) GetBoilerplate ¶
func (h HTML) GetBoilerplate(elements acorntypes.AcornComponents, withoutMargins *bool) string
Generate a new boilerplate html element
func (HTML) NewAccordion ¶
func (h HTML) NewAccordion(params []*acorntypes.AccordionParams) string
Generate a new accordion html element
func (HTML) NewAlert ¶
func (h HTML) NewAlert(params *acorntypes.AlertParams) string
Generate a new alert html element
func (HTML) NewButton ¶
func (h HTML) NewButton(params *acorntypes.ButtonParams) string
Generate a new button html element
func (HTML) NewContent ¶
func (h HTML) NewContent(params *acorntypes.ContentParams) string
Generate a new content html element
func (HTML) NewCoupon ¶
func (h HTML) NewCoupon(params *acorntypes.CouponParams) string
NewCoupon generate a new coupon html element
func (HTML) NewDivider ¶
func (h HTML) NewDivider(color *acorntypes.Color) string
Generate a new divider html element
func (HTML) NewGrid ¶
func (h HTML) NewGrid(rows [][]*acorntypes.ColumnParams) string
Generate a new grid html element
func (HTML) NewImage ¶
func (h HTML) NewImage(params *acorntypes.ImageParams) string
NewImage generate a new image html element
func (HTML) NewLabel ¶
func (h HTML) NewLabel(params *acorntypes.LabelParams) string
Generate a new label html element
func (HTML) NewPromo ¶
func (h HTML) NewPromo(items *acorntypes.PromoItems) string
NewPromo generate a new promo html element
func (HTML) NewRow ¶
func (h HTML) NewRow(params []*acorntypes.ColumnParams) string
Generate a new row html element
func (HTML) NewTestimonial ¶
func (h HTML) NewTestimonial(params *acorntypes.TestimonialParams) string
Generate a new testimonial html element
func (HTML) NewTimeline ¶
func (h HTML) NewTimeline(params []*acorntypes.TimelineParams) string
Generate a new timeline html element
Click to show internal directories.
Click to hide internal directories.