2020-03-21 13:04:54 +05:00
|
|
|
package common
|
|
|
|
|
|
|
|
const (
|
2020-05-17 19:37:58 +05:00
|
|
|
HTMLElementA = "a"
|
|
|
|
HTMLElementBody = "body"
|
|
|
|
HTMLElementButton = "button"
|
|
|
|
HTMLElementDiv = "div"
|
|
|
|
HTMLElementDocument = "document"
|
|
|
|
HTMLElementDocumentElement = "documentElement"
|
|
|
|
HTMLElementHead = "head"
|
|
|
|
HTMLElementHTML = "html"
|
|
|
|
HTMLElementLink = "link"
|
|
|
|
HTMLElementMeta = "meta"
|
|
|
|
HTMLElementNav = "nav"
|
|
|
|
HTMLElementP = "p"
|
|
|
|
HTMLElementSection = "section"
|
|
|
|
HTMLElementTable = "table"
|
|
|
|
HTMLElementTBody = "tbody"
|
|
|
|
HTMLElementTD = "td"
|
|
|
|
HTMLElementTFoot = "tfoot"
|
|
|
|
HTMLElementTH = "th"
|
|
|
|
HTMLElementTHead = "thead"
|
|
|
|
HTMLElementTR = "tr"
|
2020-03-21 13:04:54 +05:00
|
|
|
|
|
|
|
HTMLElementParameterClassList = "classList"
|
|
|
|
HTMLElementParameterHref = "href"
|
|
|
|
HTMLElementParameterID = "id"
|
|
|
|
HTMLElementParameterRel = "rel"
|
|
|
|
HTMLElementParameterRole = "role"
|
|
|
|
|
|
|
|
HTMLMetaParameterCharset = "charset"
|
|
|
|
HTMLMetaParameterContent = "content"
|
|
|
|
HTMLMetaParameterName = "name"
|
|
|
|
|
|
|
|
HTMLHeadElementTitle = "title"
|
|
|
|
|
2020-05-17 19:37:58 +05:00
|
|
|
JSCallAdd = "add"
|
|
|
|
JSCallAddEventListener = "addEventListener"
|
|
|
|
JSCallAppendChild = "appendChild"
|
|
|
|
JSCallCreateElement = "createElement"
|
|
|
|
JSCallGetElementsByTagName = "getElementsByTagName"
|
|
|
|
JSCallQuerySelector = "querySelector"
|
2020-03-21 13:04:54 +05:00
|
|
|
|
|
|
|
JSConsole = "console"
|
|
|
|
|
|
|
|
JSEventDOMContentLoaded = "DOMContentLoaded"
|
|
|
|
)
|