Documentation ¶
Index ¶
- type Html
- func (el Html) Append(document, element interface{})
- func (el Html) GetDocumentHeight(document interface{}) int
- func (el Html) GetDocumentWidth(document interface{}) int
- func (el Html) NewImage(parent interface{}, propertiesList map[string]interface{}, waitLoad bool) Image
- func (el Html) Remove(document, element interface{})
- type Image
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Html ¶
type Html struct{}
func (Html) GetDocumentHeight ¶
func (Html) GetDocumentWidth ¶
type Image ¶
type Image struct { // en: html parent element HtmlParent js.Value // en: list of html properties SetProperty map[string]interface{} // en: wait onLoad event to release create() method WaitLoad bool // contains filtered or unexported fields }
en: The Image{} struct creates a new HTMLImageElement instance. It is equivalent to document.createElement('Img').
Click to show internal directories.
Click to hide internal directories.