Documentation ¶
Overview ¶
package markup provide a virtual tree like DOM structure, for the structure of connecting components able to react to signals (aka events), fast in iteration and navigation.
Index ¶
- Variables
- func MakeHTMLSpace(count int) string
- func ParseTemplateInto(root *Node, markup string, binding interface{})
- func ParseToRoot(root *Node, markup string)
- type Atom
- type AtomRead
- type AtomSet
- type Attr
- type AttrEncodable
- type AttrEncoder
- type AttrList
- func (l *AttrList) Add(v Attr)
- func (l AttrList) Attr(key string) (Attr, bool)
- func (l AttrList) Each(fx func(Attr) bool)
- func (l AttrList) EncodeAttr(encoder AttrEncoder) error
- func (l AttrList) EncodeList(encoder npkg.ListEncoder)
- func (l AttrList) Has(key string) bool
- func (l *AttrList) Len() int
- func (l AttrList) Match(key string, value string) bool
- func (l AttrList) MatchAttrs(attrs Attrs) bool
- type Attrs
- type DOMAttrEncoder
- func (dm *DOMAttrEncoder) Attr(key string, attrs AttrEncodable) error
- func (dm *DOMAttrEncoder) Float(key string, val float64) error
- func (dm *DOMAttrEncoder) Int(key string, val int) error
- func (dm *DOMAttrEncoder) List(key string, set ...string) error
- func (dm *DOMAttrEncoder) QuotedString(key string, val string) error
- func (dm *DOMAttrEncoder) String() string
- func (dm *DOMAttrEncoder) UnquotedString(key string, val string) error
- func (dm *DOMAttrEncoder) WithAttr(key string, fn func(encoder AttrEncoder) error) error
- func (dm *DOMAttrEncoder) WriteTo(w io.Writer) (int64, error)
- type EventHashList
- func (na *EventHashList) Add(eventName string, callNames ...string)
- func (na *EventHashList) AddJSONEvent(ev JSONEvent)
- func (na *EventHashList) Count() int
- func (na *EventHashList) EncodeEvents(encoder *strings.Builder) error
- func (na *EventHashList) EncodeList(enc npkg.ListEncoder)
- func (na *EventHashList) Len() int
- func (na *EventHashList) MatchEvents(other *EventHashList) bool
- func (na *EventHashList) Remove(eventName string, callNames ...string)
- func (na *EventHashList) RemoveAll(event string)
- func (na *EventHashList) Reset()
- type FunctionApplier
- type IDList
- type IdAttr
- func (s IdAttr) Clone() Attr
- func (s IdAttr) Contains(other string) bool
- func (s IdAttr) EncodeAttr(encoder AttrEncoder) error
- func (s IdAttr) EncodeObject(enc npkg.ObjectEncoder)
- func (s IdAttr) Key() string
- func (s IdAttr) Match(other Attr) bool
- func (s IdAttr) Mount(parent *Node)
- func (s IdAttr) Text() string
- func (s IdAttr) Value() interface{}
- type IndexUpdated
- type InputType
- type IntAtomImpl
- type IntAttr
- func (s IntAttr) Clone() Attr
- func (s IntAttr) Contains(other string) bool
- func (s IntAttr) EncodeAttr(encoder AttrEncoder) error
- func (s IntAttr) EncodeObject(enc npkg.ObjectEncoder)
- func (s IntAttr) Key() string
- func (s IntAttr) Match(other Attr) bool
- func (s IntAttr) Mount(parent *Node) error
- func (s IntAttr) Text() string
- func (s IntAttr) Value() interface{}
- type IterableAttr
- type JSONAttr
- type JSONEvent
- func AbortEvent(mods ...string) JSONEvent
- func AfterPrintEvent(mods ...string) JSONEvent
- func AfterScriptExecuteEvent(mods ...string) JSONEvent
- func AlertActiveEvent(mods ...string) JSONEvent
- func AlertCloseEvent(mods ...string) JSONEvent
- func AlertingEvent(mods ...string) JSONEvent
- func AnimationEndEvent(mods ...string) JSONEvent
- func AnimationIterationEvent(mods ...string) JSONEvent
- func AnimationStartEvent(mods ...string) JSONEvent
- func AnimationcancelEvent(mods ...string) JSONEvent
- func ApplicationInstalledEvent(mods ...string) JSONEvent
- func AudioEndEvent(mods ...string) JSONEvent
- func AudioProcessEvent(mods ...string) JSONEvent
- func AudioStartEvent(mods ...string) JSONEvent
- func AuxclickEvent(mods ...string) JSONEvent
- func BeforePrintEvent(mods ...string) JSONEvent
- func BeforeUnloadEvent(mods ...string) JSONEvent
- func BeforeinstallpromptEvent(mods ...string) JSONEvent
- func BeforescriptexecuteEvent(mods ...string) JSONEvent
- func BeginEventEvent(mods ...string) JSONEvent
- func BlockedEvent(mods ...string) JSONEvent
- func BlurEvent(mods ...string) JSONEvent
- func BoundaryEvent(mods ...string) JSONEvent
- func BroadcastEvent(mods ...string) JSONEvent
- func BusyEvent(mods ...string) JSONEvent
- func CSSRuleViewCSSLinkClickedEvent(mods ...string) JSONEvent
- func CSSRuleViewChangeEvent(mods ...string) JSONEvent
- func CSSRuleViewRefreshedEvent(mods ...string) JSONEvent
- func CallschangedEvent(mods ...string) JSONEvent
- func CanPlayEvent(mods ...string) JSONEvent
- func CanPlayThroughEvent(mods ...string) JSONEvent
- func CardstatechangeEvent(mods ...string) JSONEvent
- func CfstatechangeEvent(mods ...string) JSONEvent
- func ChangeEvent(mods ...string) JSONEvent
- func ChargingChangeEvent(mods ...string) JSONEvent
- func ChargingTimeChangeEvent(mods ...string) JSONEvent
- func CheckboxStateChangeEvent(mods ...string) JSONEvent
- func ClickEvent(mods ...string) JSONEvent
- func CloseEvent(mods ...string) JSONEvent
- func CommandEvent(mods ...string) JSONEvent
- func CommandupdateEvent(mods ...string) JSONEvent
- func CompleteEvent(mods ...string) JSONEvent
- func CompositionEndEvent(mods ...string) JSONEvent
- func CompositionStartEvent(mods ...string) JSONEvent
- func CompositionUpdateEvent(mods ...string) JSONEvent
- func ConnectingEvent(mods ...string) JSONEvent
- func ConnectionInfoUpdateEvent(mods ...string) JSONEvent
- func ContextMenuEvent(mods ...string) JSONEvent
- func CopyEvent(mods ...string) JSONEvent
- func CutEvent(mods ...string) JSONEvent
- func DOMAttrModifiedEvent(mods ...string) JSONEvent
- func DOMAttributeNameChangedEvent(mods ...string) JSONEvent
- func DOMAutoCompleteEvent(mods ...string) JSONEvent
- func DOMCharacterDataModifiedEvent(mods ...string) JSONEvent
- func DOMContentLoadedEvent(mods ...string) JSONEvent
- func DOMElementNameChangedEvent(mods ...string) JSONEvent
- func DOMFrameContentLoadedEvent(mods ...string) JSONEvent
- func DOMLinkAddedEvent(mods ...string) JSONEvent
- func DOMLinkRemovedEvent(mods ...string) JSONEvent
- func DOMMenuItemActiveEvent(mods ...string) JSONEvent
- func DOMMenuItemInactiveEvent(mods ...string) JSONEvent
- func DOMMetaAddedEvent(mods ...string) JSONEvent
- func DOMMetaRemovedEvent(mods ...string) JSONEvent
- func DOMModalDialogClosedEvent(mods ...string) JSONEvent
- func DOMMouseScrollEvent(mods ...string) JSONEvent
- func DOMNodeInsertedEvent(mods ...string) JSONEvent
- func DOMNodeInsertedIntoDocumentEvent(mods ...string) JSONEvent
- func DOMNodeRemovedEvent(mods ...string) JSONEvent
- func DOMNodeRemovedFromDocumentEvent(mods ...string) JSONEvent
- func DOMPopupBlockedEvent(mods ...string) JSONEvent
- func DOMSubtreeModifiedEvent(mods ...string) JSONEvent
- func DOMTitleChangedEvent(mods ...string) JSONEvent
- func DOMWillOpenModalDialogEvent(mods ...string) JSONEvent
- func DOMWindowCloseEvent(mods ...string) JSONEvent
- func DOMWindowCreatedEvent(mods ...string) JSONEvent
- func DatachangeEvent(mods ...string) JSONEvent
- func DataerrorEvent(mods ...string) JSONEvent
- func DeliveredEvent(mods ...string) JSONEvent
- func DeviceChangeEvent(mods ...string) JSONEvent
- func DeviceMotionEvent(mods ...string) JSONEvent
- func DeviceOrientationEvent(mods ...string) JSONEvent
- func DialingEvent(mods ...string) JSONEvent
- func DisabledEvent(mods ...string) JSONEvent
- func DischargingTimeChangeEvent(mods ...string) JSONEvent
- func DisconnectedEvent(mods ...string) JSONEvent
- func DisconnectingEvent(mods ...string) JSONEvent
- func DoubleClickEvent(mods ...string) JSONEvent
- func DragEndEvent(mods ...string) JSONEvent
- func DragEnterEvent(mods ...string) JSONEvent
- func DragEvent(mods ...string) JSONEvent
- func DragLeaveEvent(mods ...string) JSONEvent
- func DragOverEvent(mods ...string) JSONEvent
- func DragStartEvent(mods ...string) JSONEvent
- func DropEvent(mods ...string) JSONEvent
- func DurationChangeEvent(mods ...string) JSONEvent
- func EmptiedEvent(mods ...string) JSONEvent
- func EnabledEvent(mods ...string) JSONEvent
- func EndEvent(mods ...string) JSONEvent
- func EndEventEvent(mods ...string) JSONEvent
- func EndedEvent(mods ...string) JSONEvent
- func FocusEvent(mods ...string) JSONEvent
- func FocusInEvent(mods ...string) JSONEvent
- func FocusOutEvent(mods ...string) JSONEvent
- func FullScreenChangeEvent(mods ...string) JSONEvent
- func FullScreenErrorEvent(mods ...string) JSONEvent
- func FullscreenEvent(mods ...string) JSONEvent
- func GamepadConnectedEvent(mods ...string) JSONEvent
- func GamepadDisconnectedEvent(mods ...string) JSONEvent
- func GotPointerCaptureEvent(mods ...string) JSONEvent
- func HashChangeEvent(mods ...string) JSONEvent
- func HeldEvent(mods ...string) JSONEvent
- func HoldingEvent(mods ...string) JSONEvent
- func ICCCardLockErrorEvent(mods ...string) JSONEvent
- func IccinfochangeEvent(mods ...string) JSONEvent
- func IncomingEvent(mods ...string) JSONEvent
- func InputEvent(mods ...string) JSONEvent
- func InvalidEvent(mods ...string) JSONEvent
- func KeyDownEvent(mods ...string) JSONEvent
- func KeyPressEvent(mods ...string) JSONEvent
- func KeyUpEvent(mods ...string) JSONEvent
- func LanguageChangeEvent(mods ...string) JSONEvent
- func LevelChangeEvent(mods ...string) JSONEvent
- func LoadEndEvent(mods ...string) JSONEvent
- func LoadEvent(mods ...string) JSONEvent
- func LoadStartEvent(mods ...string) JSONEvent
- func LoadedDataEvent(mods ...string) JSONEvent
- func LoadedMetadataEvent(mods ...string) JSONEvent
- func LocalizedEvent(mods ...string) JSONEvent
- func LostPointerCaptureEvent(mods ...string) JSONEvent
- func MSManipulationStateChangedEvent(mods ...string) JSONEvent
- func MSPointerHoverEvent(mods ...string) JSONEvent
- func MarkEvent(mods ...string) JSONEvent
- func MessageErrorEvent(mods ...string) JSONEvent
- func MessageEvent(mods ...string) JSONEvent
- func MouseDownEvent(mods ...string) JSONEvent
- func MouseEnterEvent(mods ...string) JSONEvent
- func MouseLeaveEvent(mods ...string) JSONEvent
- func MouseMoveEvent(mods ...string) JSONEvent
- func MouseOutEvent(mods ...string) JSONEvent
- func MouseOverEvent(mods ...string) JSONEvent
- func MouseUpEvent(mods ...string) JSONEvent
- func MousewheelEvent(mods ...string) JSONEvent
- func MozAfterPaintEvent(mods ...string) JSONEvent
- func MozAudioAvailableEvent(mods ...string) JSONEvent
- func MozBeforeResizeEvent(mods ...string) JSONEvent
- func MozEdgeUIGestureEvent(mods ...string) JSONEvent
- func MozEnteredDomFullscreenEvent(mods ...string) JSONEvent
- func MozGamepadButtonDownEvent(mods ...string) JSONEvent
- func MozGamepadButtonUpEvent(mods ...string) JSONEvent
- func MozMagnifyGestureEvent(mods ...string) JSONEvent
- func MozMagnifyGestureStartEvent(mods ...string) JSONEvent
- func MozMagnifyGestureUpdateEvent(mods ...string) JSONEvent
- func MozMousePixelScrollEvent(mods ...string) JSONEvent
- func MozOrientationEvent(mods ...string) JSONEvent
- func MozPressTapGestureEvent(mods ...string) JSONEvent
- func MozRotateGestureEvent(mods ...string) JSONEvent
- func MozRotateGestureStartEvent(mods ...string) JSONEvent
- func MozRotateGestureUpdateEvent(mods ...string) JSONEvent
- func MozScrolledAreaChangedEvent(mods ...string) JSONEvent
- func MozSwipeGestureEvent(mods ...string) JSONEvent
- func MozTapGestureEvent(mods ...string) JSONEvent
- func MozTouchDownEvent(mods ...string) JSONEvent
- func MozTouchMoveEvent(mods ...string) JSONEvent
- func MozTouchUpEvent(mods ...string) JSONEvent
- func MozbrowseractivitydoneEvent(mods ...string) JSONEvent
- func MozbrowserasyncscrollEvent(mods ...string) JSONEvent
- func MozbrowseraudioplaybackchangeEvent(mods ...string) JSONEvent
- func MozbrowsercaretstatechangedEvent(mods ...string) JSONEvent
- func MozbrowsercloseEvent(mods ...string) JSONEvent
- func MozbrowsercontextmenuEvent(mods ...string) JSONEvent
- func MozbrowserdocumentfirstpaintEvent(mods ...string) JSONEvent
- func MozbrowsererrorEvent(mods ...string) JSONEvent
- func MozbrowserfindchangeEvent(mods ...string) JSONEvent
- func MozbrowserfirstpaintEvent(mods ...string) JSONEvent
- func MozbrowsericonchangeEvent(mods ...string) JSONEvent
- func MozbrowserloadendEvent(mods ...string) JSONEvent
- func MozbrowserloadstartEvent(mods ...string) JSONEvent
- func MozbrowserlocationchangeEvent(mods ...string) JSONEvent
- func MozbrowsermanifestchangeEvent(mods ...string) JSONEvent
- func MozbrowsermetachangeEvent(mods ...string) JSONEvent
- func MozbrowseropensearchEvent(mods ...string) JSONEvent
- func MozbrowseropentabEvent(mods ...string) JSONEvent
- func MozbrowseropenwindowEvent(mods ...string) JSONEvent
- func MozbrowserresizeEvent(mods ...string) JSONEvent
- func MozbrowserscrollEvent(mods ...string) JSONEvent
- func MozbrowserscrollareachangedEvent(mods ...string) JSONEvent
- func MozbrowserscrollviewchangeEvent(mods ...string) JSONEvent
- func MozbrowsersecuritychangeEvent(mods ...string) JSONEvent
- func MozbrowserselectionstatechangedEvent(mods ...string) JSONEvent
- func MozbrowsershowmodalpromptEvent(mods ...string) JSONEvent
- func MozbrowsertitlechangeEvent(mods ...string) JSONEvent
- func MozbrowserusernameandpasswordrequiredEvent(mods ...string) JSONEvent
- func MozbrowservisibilitychangeEvent(mods ...string) JSONEvent
- func MoztimechangeEvent(mods ...string) JSONEvent
- func MsContentZoomEvent(mods ...string) JSONEvent
- func NewJSONEvent(name string, targets ...string) JSONEvent
- func NoMatchEvent(mods ...string) JSONEvent
- func NotificationClickEvent(mods ...string) JSONEvent
- func OfflineEvent(mods ...string) JSONEvent
- func OnconnectedEvent(mods ...string) JSONEvent
- func OnlineEvent(mods ...string) JSONEvent
- func OpenEvent(mods ...string) JSONEvent
- func OrientationChangeEvent(mods ...string) JSONEvent
- func OverflowEvent(mods ...string) JSONEvent
- func PageHideEvent(mods ...string) JSONEvent
- func PageShowEvent(mods ...string) JSONEvent
- func PasteEvent(mods ...string) JSONEvent
- func PauseEvent(mods ...string) JSONEvent
- func PlayEvent(mods ...string) JSONEvent
- func PlayingEvent(mods ...string) JSONEvent
- func PointerCancelEvent(mods ...string) JSONEvent
- func PointerDownEvent(mods ...string) JSONEvent
- func PointerEnterEvent(mods ...string) JSONEvent
- func PointerLeaveEvent(mods ...string) JSONEvent
- func PointerLockChangeEvent(mods ...string) JSONEvent
- func PointerLockErrorEvent(mods ...string) JSONEvent
- func PointerMoveEvent(mods ...string) JSONEvent
- func PointerOutEvent(mods ...string) JSONEvent
- func PointerOverEvent(mods ...string) JSONEvent
- func PointerUpEvent(mods ...string) JSONEvent
- func PopStateEvent(mods ...string) JSONEvent
- func PopuphiddenEvent(mods ...string) JSONEvent
- func PopuphidingEvent(mods ...string) JSONEvent
- func PopupshowingEvent(mods ...string) JSONEvent
- func PopupshownEvent(mods ...string) JSONEvent
- func ProgressEvent(mods ...string) JSONEvent
- func PushEvent(mods ...string) JSONEvent
- func PushSubscriptionChangeEvent(mods ...string) JSONEvent
- func RadioStateChangeEvent(mods ...string) JSONEvent
- func RateChangeEvent(mods ...string) JSONEvent
- func ReadyStateChangeEvent(mods ...string) JSONEvent
- func ReceivedEvent(mods ...string) JSONEvent
- func RepeatEventEvent(mods ...string) JSONEvent
- func ResetEvent(mods ...string) JSONEvent
- func ResizeEvent(mods ...string) JSONEvent
- func ResourceTimingBufferFullEvent(mods ...string) JSONEvent
- func ResultEvent(mods ...string) JSONEvent
- func ResumeEvent(mods ...string) JSONEvent
- func ResumingEvent(mods ...string) JSONEvent
- func SSTabClosingEvent(mods ...string) JSONEvent
- func SSTabRestoredEvent(mods ...string) JSONEvent
- func SSTabRestoringEvent(mods ...string) JSONEvent
- func SSWindowClosingEvent(mods ...string) JSONEvent
- func SSWindowStateBusyEvent(mods ...string) JSONEvent
- func SSWindowStateReadyEvent(mods ...string) JSONEvent
- func SVGAbortEvent(mods ...string) JSONEvent
- func SVGErrorEvent(mods ...string) JSONEvent
- func SVGLoadEvent(mods ...string) JSONEvent
- func SVGResizeEvent(mods ...string) JSONEvent
- func SVGScrollEvent(mods ...string) JSONEvent
- func SVGUnloadEvent(mods ...string) JSONEvent
- func SVGZoomEvent(mods ...string) JSONEvent
- func ScrollEvent(mods ...string) JSONEvent
- func SeekedEvent(mods ...string) JSONEvent
- func SeekingEvent(mods ...string) JSONEvent
- func SelectEvent(mods ...string) JSONEvent
- func SelectStartEvent(mods ...string) JSONEvent
- func SelectionChangeEvent(mods ...string) JSONEvent
- func SentEvent(mods ...string) JSONEvent
- func ShowEvent(mods ...string) JSONEvent
- func SizemodechangeEvent(mods ...string) JSONEvent
- func SlotChangeEvent(mods ...string) JSONEvent
- func SmartcardInsertEvent(mods ...string) JSONEvent
- func SmartcardRemoveEvent(mods ...string) JSONEvent
- func SoundEndEvent(mods ...string) JSONEvent
- func SoundStartEvent(mods ...string) JSONEvent
- func SpeechEndEvent(mods ...string) JSONEvent
- func SpeechStartEvent(mods ...string) JSONEvent
- func StalledEvent(mods ...string) JSONEvent
- func StartEvent(mods ...string) JSONEvent
- func StatechangeEvent(mods ...string) JSONEvent
- func StatuschangeEvent(mods ...string) JSONEvent
- func StkcommandEvent(mods ...string) JSONEvent
- func StksessionendEvent(mods ...string) JSONEvent
- func StorageEvent(mods ...string) JSONEvent
- func SubmitEvent(mods ...string) JSONEvent
- func SuccessEvent(mods ...string) JSONEvent
- func SuspendEvent(mods ...string) JSONEvent
- func TabCloseEvent(mods ...string) JSONEvent
- func TabHideEvent(mods ...string) JSONEvent
- func TabOpenEvent(mods ...string) JSONEvent
- func TabPinnedEvent(mods ...string) JSONEvent
- func TabSelectEvent(mods ...string) JSONEvent
- func TabShowEvent(mods ...string) JSONEvent
- func TabUnpinnedEvent(mods ...string) JSONEvent
- func TimeUpdateEvent(mods ...string) JSONEvent
- func TimeoutEvent(mods ...string) JSONEvent
- func TouchCancelEvent(mods ...string) JSONEvent
- func TouchEndEvent(mods ...string) JSONEvent
- func TouchEnterEvent(mods ...string) JSONEvent
- func TouchLeaveEvent(mods ...string) JSONEvent
- func TouchMoveEvent(mods ...string) JSONEvent
- func TouchStartEvent(mods ...string) JSONEvent
- func TransitionEndEvent(mods ...string) JSONEvent
- func TransitioncancelEvent(mods ...string) JSONEvent
- func TransitionrunEvent(mods ...string) JSONEvent
- func TransitionstartEvent(mods ...string) JSONEvent
- func UnderflowEvent(mods ...string) JSONEvent
- func UnloadEvent(mods ...string) JSONEvent
- func UpgradeNeededEvent(mods ...string) JSONEvent
- func UserProximityEvent(mods ...string) JSONEvent
- func UssdreceivedEvent(mods ...string) JSONEvent
- func VRDisplayPresentChangeEvent(mods ...string) JSONEvent
- func ValueChangeEvent(mods ...string) JSONEvent
- func VersionChangeEvent(mods ...string) JSONEvent
- func VisibilityChangeEvent(mods ...string) JSONEvent
- func VoicechangeEvent(mods ...string) JSONEvent
- func VoicesChangedEvent(mods ...string) JSONEvent
- func VolumeChangeEvent(mods ...string) JSONEvent
- func VrdisplayactivateEvent(mods ...string) JSONEvent
- func VrdisplayblurEvent(mods ...string) JSONEvent
- func VrdisplayconnectEvent(mods ...string) JSONEvent
- func VrdisplaydeactivateEvent(mods ...string) JSONEvent
- func VrdisplaydisconnectEvent(mods ...string) JSONEvent
- func VrdisplayfocusEvent(mods ...string) JSONEvent
- func WaitingEvent(mods ...string) JSONEvent
- func WheelEvent(mods ...string) JSONEvent
- type JSONNode
- type JSONNodes
- type Matchable
- type Mounter
- type Node
- func Carrier(renders ...Mounter) *Node
- func Comment(comment string) *Node
- func Document(renders ...Mounter) *Node
- func Element(name string, renders ...Mounter) *Node
- func HTMLAbbreviation(renders ...Mounter) *Node
- func HTMLAcronym(renders ...Mounter) *Node
- func HTMLAddress(renders ...Mounter) *Node
- func HTMLAnchor(renders ...Mounter) *Node
- func HTMLApplet(renders ...Mounter) *Node
- func HTMLArea(renders ...Mounter) *Node
- func HTMLArticle(renders ...Mounter) *Node
- func HTMLAside(renders ...Mounter) *Node
- func HTMLAudio(renders ...Mounter) *Node
- func HTMLBase(renders ...Mounter) *Node
- func HTMLBasefont(renders ...Mounter) *Node
- func HTMLBgsound(renders ...Mounter) *Node
- func HTMLBidirectionalIsolation(renders ...Mounter) *Node
- func HTMLBidirectionalOverride(renders ...Mounter) *Node
- func HTMLBig(renders ...Mounter) *Node
- func HTMLBlink(renders ...Mounter) *Node
- func HTMLBlockQuote(renders ...Mounter) *Node
- func HTMLBody(renders ...Mounter) *Node
- func HTMLBold(renders ...Mounter) *Node
- func HTMLBreak(renders ...Mounter) *Node
- func HTMLButton(renders ...Mounter) *Node
- func HTMLCanvas(renders ...Mounter) *Node
- func HTMLCaption(renders ...Mounter) *Node
- func HTMLCenter(renders ...Mounter) *Node
- func HTMLCitation(renders ...Mounter) *Node
- func HTMLCode(renders ...Mounter) *Node
- func HTMLColumn(renders ...Mounter) *Node
- func HTMLColumnGroup(renders ...Mounter) *Node
- func HTMLCommand(renders ...Mounter) *Node
- func HTMLContent(renders ...Mounter) *Node
- func HTMLData(renders ...Mounter) *Node
- func HTMLDataList(renders ...Mounter) *Node
- func HTMLDefinition(renders ...Mounter) *Node
- func HTMLDefinitionTerm(renders ...Mounter) *Node
- func HTMLDeletedText(renders ...Mounter) *Node
- func HTMLDescription(renders ...Mounter) *Node
- func HTMLDescriptionList(renders ...Mounter) *Node
- func HTMLDetails(renders ...Mounter) *Node
- func HTMLDialog(renders ...Mounter) *Node
- func HTMLDir(renders ...Mounter) *Node
- func HTMLDiv(renders ...Mounter) *Node
- func HTMLDoc(renders ...Mounter) *Node
- func HTMLElement(renders ...Mounter) *Node
- func HTMLEmbed(renders ...Mounter) *Node
- func HTMLEmphasis(renders ...Mounter) *Node
- func HTMLFieldSet(renders ...Mounter) *Node
- func HTMLFigure(renders ...Mounter) *Node
- func HTMLFigureCaption(renders ...Mounter) *Node
- func HTMLFont(renders ...Mounter) *Node
- func HTMLFooter(renders ...Mounter) *Node
- func HTMLForm(renders ...Mounter) *Node
- func HTMLFrame(renders ...Mounter) *Node
- func HTMLFrameset(renders ...Mounter) *Node
- func HTMLHead(renders ...Mounter) *Node
- func HTMLHeader(renders ...Mounter) *Node
- func HTMLHeader1(renders ...Mounter) *Node
- func HTMLHeader2(renders ...Mounter) *Node
- func HTMLHeader3(renders ...Mounter) *Node
- func HTMLHeader4(renders ...Mounter) *Node
- func HTMLHeader5(renders ...Mounter) *Node
- func HTMLHeader6(renders ...Mounter) *Node
- func HTMLHeadingsGroup(renders ...Mounter) *Node
- func HTMLHorizontalRule(renders ...Mounter) *Node
- func HTMLImage(renders ...Mounter) *Node
- func HTMLInlineFrame(renders ...Mounter) *Node
- func HTMLInput(renders ...Mounter) *Node
- func HTMLInsertedText(renders ...Mounter) *Node
- func HTMLIsindex(renders ...Mounter) *Node
- func HTMLItalic(renders ...Mounter) *Node
- func HTMLKeyGen(renders ...Mounter) *Node
- func HTMLKeyboardInput(renders ...Mounter) *Node
- func HTMLLabel(renders ...Mounter) *Node
- func HTMLLegend(renders ...Mounter) *Node
- func HTMLLink(renders ...Mounter) *Node
- func HTMLListItem(renders ...Mounter) *Node
- func HTMLListing(renders ...Mounter) *Node
- func HTMLMain(renders ...Mounter) *Node
- func HTMLMap(renders ...Mounter) *Node
- func HTMLMark(renders ...Mounter) *Node
- func HTMLMarquee(renders ...Mounter) *Node
- func HTMLMenu(renders ...Mounter) *Node
- func HTMLMenuItem(renders ...Mounter) *Node
- func HTMLMeta(renders ...Mounter) *Node
- func HTMLMeter(renders ...Mounter) *Node
- func HTMLMulticol(renders ...Mounter) *Node
- func HTMLNavigation(renders ...Mounter) *Node
- func HTMLNextid(renders ...Mounter) *Node
- func HTMLNoFrames(renders ...Mounter) *Node
- func HTMLNoScript(renders ...Mounter) *Node
- func HTMLNobr(renders ...Mounter) *Node
- func HTMLNoembed(renders ...Mounter) *Node
- func HTMLObject(renders ...Mounter) *Node
- func HTMLOption(renders ...Mounter) *Node
- func HTMLOptionsGroup(renders ...Mounter) *Node
- func HTMLOrderedList(renders ...Mounter) *Node
- func HTMLOutput(renders ...Mounter) *Node
- func HTMLParagraph(renders ...Mounter) *Node
- func HTMLParameter(renders ...Mounter) *Node
- func HTMLPicture(renders ...Mounter) *Node
- func HTMLPlaintext(renders ...Mounter) *Node
- func HTMLPreformatted(renders ...Mounter) *Node
- func HTMLProgress(renders ...Mounter) *Node
- func HTMLQuote(renders ...Mounter) *Node
- func HTMLRb(renders ...Mounter) *Node
- func HTMLRtc(renders ...Mounter) *Node
- func HTMLRuby(renders ...Mounter) *Node
- func HTMLRubyParenthesis(renders ...Mounter) *Node
- func HTMLRubyText(renders ...Mounter) *Node
- func HTMLSample(renders ...Mounter) *Node
- func HTMLScript(renders ...Mounter) *Node
- func HTMLScripts(renders ...Mounter) *Node
- func HTMLSection(renders ...Mounter) *Node
- func HTMLSelect(renders ...Mounter) *Node
- func HTMLShadow(renders ...Mounter) *Node
- func HTMLSlot(renders ...Mounter) *Node
- func HTMLSmall(renders ...Mounter) *Node
- func HTMLSource(renders ...Mounter) *Node
- func HTMLSpacer(renders ...Mounter) *Node
- func HTMLSpan(renders ...Mounter) *Node
- func HTMLStrike(renders ...Mounter) *Node
- func HTMLStrikethrough(renders ...Mounter) *Node
- func HTMLStrong(renders ...Mounter) *Node
- func HTMLStyle(renders ...Mounter) *Node
- func HTMLSubscript(renders ...Mounter) *Node
- func HTMLSummary(renders ...Mounter) *Node
- func HTMLSuperscript(renders ...Mounter) *Node
- func HTMLTable(renders ...Mounter) *Node
- func HTMLTableBody(renders ...Mounter) *Node
- func HTMLTableData(renders ...Mounter) *Node
- func HTMLTableFoot(renders ...Mounter) *Node
- func HTMLTableHead(renders ...Mounter) *Node
- func HTMLTableHeader(renders ...Mounter) *Node
- func HTMLTableRow(renders ...Mounter) *Node
- func HTMLTemplate(renders ...Mounter) *Node
- func HTMLTextArea(renders ...Mounter) *Node
- func HTMLTime(renders ...Mounter) *Node
- func HTMLTitle(renders ...Mounter) *Node
- func HTMLTrack(renders ...Mounter) *Node
- func HTMLTt(renders ...Mounter) *Node
- func HTMLUnderline(renders ...Mounter) *Node
- func HTMLUnorderedList(renders ...Mounter) *Node
- func HTMLVariable(renders ...Mounter) *Node
- func HTMLVideo(renders ...Mounter) *Node
- func HTMLWordBreakOpportunity(renders ...Mounter) *Node
- func HTMLXmp(renders ...Mounter) *Node
- func Html(renders ...Mounter) *Node
- func NewNode(nt NodeType, tagName string) *Node
- func ParseAndFirst(markup string) *Node
- func ParseTemplate(markup string, binding interface{}) *Node
- func ParseTree(markup string) *Node
- func Replicate(renders ...Mounter) *Node
- func SVGAnchor(renders ...Mounter) *Node
- func SVGAnimate(renders ...Mounter) *Node
- func SVGAnimateMotion(renders ...Mounter) *Node
- func SVGAnimateTransform(renders ...Mounter) *Node
- func SVGCircle(renders ...Mounter) *Node
- func SVGClipPath(renders ...Mounter) *Node
- func SVGColorProfile(renders ...Mounter) *Node
- func SVGDefs(renders ...Mounter) *Node
- func SVGDesc(renders ...Mounter) *Node
- func SVGDiscard(renders ...Mounter) *Node
- func SVGEllipse(renders ...Mounter) *Node
- func SVGFeBlend(renders ...Mounter) *Node
- func SVGFeColorMatrix(renders ...Mounter) *Node
- func SVGFeComponentTransfer(renders ...Mounter) *Node
- func SVGFeComposite(renders ...Mounter) *Node
- func SVGFeConvolveMatrix(renders ...Mounter) *Node
- func SVGFeDiffuseLighting(renders ...Mounter) *Node
- func SVGFeDisplacementMap(renders ...Mounter) *Node
- func SVGFeDistantLight(renders ...Mounter) *Node
- func SVGFeDropShadow(renders ...Mounter) *Node
- func SVGFeFlood(renders ...Mounter) *Node
- func SVGFeFuncA(renders ...Mounter) *Node
- func SVGFeFuncB(renders ...Mounter) *Node
- func SVGFeFuncG(renders ...Mounter) *Node
- func SVGFeFuncR(renders ...Mounter) *Node
- func SVGFeGaussianBlur(renders ...Mounter) *Node
- func SVGFeImage(renders ...Mounter) *Node
- func SVGFeMerge(renders ...Mounter) *Node
- func SVGFeMergeNode(renders ...Mounter) *Node
- func SVGFeMorphology(renders ...Mounter) *Node
- func SVGFeOffset(renders ...Mounter) *Node
- func SVGFePointLight(renders ...Mounter) *Node
- func SVGFeSpecularLighting(renders ...Mounter) *Node
- func SVGFeSpotLight(renders ...Mounter) *Node
- func SVGFeTile(renders ...Mounter) *Node
- func SVGFeTurbulence(renders ...Mounter) *Node
- func SVGFilter(renders ...Mounter) *Node
- func SVGForeignObject(renders ...Mounter) *Node
- func SVGGroup(renders ...Mounter) *Node
- func SVGHatch(renders ...Mounter) *Node
- func SVGHatchpath(renders ...Mounter) *Node
- func SVGImage(renders ...Mounter) *Node
- func SVGLine(renders ...Mounter) *Node
- func SVGLinearGradient(renders ...Mounter) *Node
- func SVGMarker(renders ...Mounter) *Node
- func SVGMask(renders ...Mounter) *Node
- func SVGMesh(renders ...Mounter) *Node
- func SVGMeshgradient(renders ...Mounter) *Node
- func SVGMeshpatch(renders ...Mounter) *Node
- func SVGMeshrow(renders ...Mounter) *Node
- func SVGMetadata(renders ...Mounter) *Node
- func SVGMpath(renders ...Mounter) *Node
- func SVGPath(renders ...Mounter) *Node
- func SVGPattern(renders ...Mounter) *Node
- func SVGPolygon(renders ...Mounter) *Node
- func SVGPolyline(renders ...Mounter) *Node
- func SVGRadialGradient(renders ...Mounter) *Node
- func SVGRect(renders ...Mounter) *Node
- func SVGScript(renders ...Mounter) *Node
- func SVGSet(renders ...Mounter) *Node
- func SVGSolidcolor(renders ...Mounter) *Node
- func SVGStop(renders ...Mounter) *Node
- func SVGStyle(renders ...Mounter) *Node
- func SVGSwitch(renders ...Mounter) *Node
- func SVGSymbol(renders ...Mounter) *Node
- func SVGText(renders ...Mounter) *Node
- func SVGTextPath(renders ...Mounter) *Node
- func SVGTitle(renders ...Mounter) *Node
- func SVGTspan(renders ...Mounter) *Node
- func SVGUnknown(renders ...Mounter) *Node
- func SVGUse(renders ...Mounter) *Node
- func SVGView(renders ...Mounter) *Node
- func Svg(renders ...Mounter) *Node
- func Text(text string) *Node
- func TextType(textType NodeType, name string, content Stringer) *Node
- func (n *Node) AppendChild(kid *Node)
- func (n *Node) Apply(fns ...NodeFn) *Node
- func (n *Node) ChildCount() int
- func (n *Node) Clone(deepClone bool) *Node
- func (n *Node) EachChild(fn func(*Node, int) bool)
- func (n *Node) Err() error
- func (n *Node) Find(fn func(*Node, int) bool) (*Node, error)
- func (n *Node) FindRefNode(ref string) (*Node, error)
- func (n *Node) FirstChild() (*Node, error)
- func (n *Node) FromJSONNode(jsonNode JSONNode) error
- func (n *Node) Get(index int) (*Node, error)
- func (n *Node) GetChangeStream() []JSONNode
- func (n *Node) ID() string
- func (n *Node) LastChild() (*Node, error)
- func (n *Node) Match(other *Node) bool
- func (n *Node) Mount(parent *Node)
- func (n *Node) Name() string
- func (n *Node) NextSibling() (*Node, error)
- func (n *Node) NodeAttr() NodeAttr
- func (n *Node) Parent() *Node
- func (n *Node) PrependChild(kid *Node)
- func (n *Node) PreviousSibling() (*Node, error)
- func (n *Node) Reconcile(old *Node) bool
- func (n *Node) ReconcileStream(old *Node) []JSONNode
- func (n *Node) RefID() string
- func (n *Node) RefTree() string
- func (n *Node) Render(data interface{}) (*Node, error)
- func (n *Node) RenderHTML(w io.Writer, indented bool) error
- func (n *Node) RenderHTMLDiff(w io.Writer, indented bool) error
- func (n *Node) RenderHTMLTo(content io.Writer, indented bool, renderRemoved bool) error
- func (n *Node) RenderJSONNode() JSONNode
- func (n *Node) RenderShallowHTML(build io.Writer, indented bool) error
- func (n *Node) RenderShallowJSONNode() JSONNode
- func (n *Node) ResetNode()
- func (n *Node) ResetTree(doNode func(*Node))
- func (n *Node) Selector() string
- func (n *Node) SetAtid(id string)
- func (n *Node) SetErr(err error)
- func (n *Node) SetPrefix(route string)
- func (n *Node) SetTid(id string)
- func (n *Node) Text() string
- func (n *Node) Type() NodeType
- func (n *Node) UseID(id string) *Node
- func (n *Node) WalkTreeDeptFirst(handler NodeCheck)
- type NodeAttr
- type NodeAttrList
- type NodeCheck
- type NodeEncoder
- type NodeFn
- type NodeHandler
- type NodeHashList
- type NodeList
- type NodeType
- type Nodes
- type ReconcileNotifier
- type Selector
- type StringAttr
- func Alt(text string) StringAttr
- func Autofocus(autofocus bool) StringAttr
- func Checked(checked bool) StringAttr
- func Disabled(disabled bool) StringAttr
- func For(id string) StringAttr
- func Href(url string) StringAttr
- func ID(id string) StringAttr
- func Name(name string) StringAttr
- func NamespaceAttr(v string) StringAttr
- func NewStringAttr(n string, v string) StringAttr
- func Placeholder(text string) StringAttr
- func Src(url string) StringAttr
- func Type(t InputType) StringAttr
- func Value(v string) StringAttr
- func (s StringAttr) Clone() Attr
- func (s StringAttr) Contains(other string) bool
- func (s StringAttr) EncodeAttr(encoder AttrEncoder) error
- func (s StringAttr) EncodeObject(enc npkg.ObjectEncoder)
- func (s StringAttr) Key() string
- func (s StringAttr) Match(other Attr) bool
- func (s StringAttr) Mount(parent *Node)
- func (s StringAttr) Text() string
- func (s StringAttr) Value() interface{}
- type StringListAttr
- func (s *StringListAttr) Add(item string)
- func (s StringListAttr) Clone() Attr
- func (s StringListAttr) Contains(other string) bool
- func (s StringListAttr) EncodeAttr(encoder AttrEncoder) error
- func (s StringListAttr) EncodeObject(enc npkg.ObjectEncoder)
- func (s StringListAttr) Key() string
- func (s StringListAttr) Match(other Attr) bool
- func (s StringListAttr) Mount(parent *Node)
- func (s *StringListAttr) MustAdd(item string)
- func (s StringListAttr) Text() string
- func (s StringListAttr) Value() interface{}
- type Stringer
- type TextContent
- type ThemeDirective
Constants ¶
This section is empty.
Variables ¶
var ( ErrInvalidNodeType = nerror.New("invalid node type, unsupported") ErrNotFound = errors.New("not found") )
Functions ¶
func MakeHTMLSpace ¶
MakeHTMLSpace returns a text containing '&nsbp;' the provided number 'count' times.
func ParseTemplateInto ¶
ParseTemplateInto parses the provided string has a template which is processed with the provided binding and passed into the root.
func ParseToRoot ¶
ParseToRoot passes the markup generated from the markup added to the provided root.
Types ¶
type Atom ¶
type Atom interface { AtomSet AtomRead natomic.SignalResponder }
Atom exposes methods to safely set and get a giving underline value which can be safely retrieved atomically and concurrently.
type AtomRead ¶
type AtomRead interface {
Read() interface{}
}
AtomRead defines the get method requirements for a safe concurrently usable implementer.
type AtomSet ¶
type AtomSet interface {
Set(interface{}) error
}
AtomSet defines the set method requirements for a safe concurrently usable implementer.
type Attr ¶
type Attr interface { AttrEncodable npkg.EncodableObject // Key returns the key for the attribute. Key() string // Text returns a textual representation of giving attribute value. Text() string // Value return the value of giving attribute as an interface. Value() interface{} // Match must match against provided attribute validating if // it is equal both in type and key with value. Match(Attr) bool // Contains should return true/false if giving attribute // contains provided value. Contains(value string) bool Clone() Attr }
Attr defines a series of method representing a Attribute.
type AttrEncodable ¶
type AttrEncodable interface {
EncodeAttr(encoder AttrEncoder) error
}
AttrEncodable exposes a interface which provides method for encoder attributes using provided encoder.
type AttrEncoder ¶
type AttrEncoder interface { Attr(string, AttrEncodable) error Int(string, int) error Float(string, float64) error List(string, ...string) error QuotedString(string, string) error UnquotedString(string, string) error }
AttrEncoder defines an interface which provides means of encoding attribute key-value pairs and possible sub-attributes using provided type functions.
type AttrList ¶
type AttrList []Attr
AttrList implements Attrs interface.
func (AttrList) EncodeAttr ¶
func (l AttrList) EncodeAttr(encoder AttrEncoder) error
EncodeAttr encodes all attributes within it's list with provided encoder.
func (AttrList) EncodeList ¶
func (l AttrList) EncodeList(encoder npkg.ListEncoder)
EncodeList encodes list of all attributes.
func (AttrList) MatchAttrs ¶
MatchAttrs returns true/false if giving attrs match.
type Attrs ¶
type Attrs interface { AttrEncodable // Has should return true/false if giving Attrs has giving key. Has(key string) bool // MatchAttrs returns true/false if provided Attrs match each other. MatchAttrs(Attrs) bool // Each should handle the need of iterating through all // values of a key. Each(fx func(Attr) bool) // Attr should return the Attr for giving key of giving type. Attr(key string) (Attr, bool) // Match must match against provided key and string value returning // true/false if value matches internal representation of key value/values. Match(key string, value string) bool }
Attrs exposes a interface defining a giving attribute host which provides method for accessing all attributes.
type DOMAttrEncoder ¶
DOMAttrEncoder implements a not to optimized AttrEncoder interface.
func DOMAttrEncoderWith ¶
func DOMAttrEncoderWith(key string, content *strings.Builder) *DOMAttrEncoder
DOMAttrEncoderWith returns a new DOMAttrEncoder.
func NewDOMAttrEncoder ¶
func NewDOMAttrEncoder(key string) *DOMAttrEncoder
NewDOMAttrEncoder returns a new DOMAttrEncoder.
func (*DOMAttrEncoder) Attr ¶
func (dm *DOMAttrEncoder) Attr(key string, attrs AttrEncodable) error
Attr implements encoding of multi-attribute based values.
func (*DOMAttrEncoder) Float ¶
func (dm *DOMAttrEncoder) Float(key string, val float64) error
Float encodes giving int value for string key.
func (*DOMAttrEncoder) Int ¶
func (dm *DOMAttrEncoder) Int(key string, val int) error
Int encodes giving int value for string key.
func (*DOMAttrEncoder) List ¶
func (dm *DOMAttrEncoder) List(key string, set ...string) error
Attr encodes giving list of string values for string key.
func (*DOMAttrEncoder) QuotedString ¶
func (dm *DOMAttrEncoder) QuotedString(key string, val string) error
QuotedString encodes giving string value for string key.
func (*DOMAttrEncoder) String ¶
func (dm *DOMAttrEncoder) String() string
String returns the encoded attribute list of elements.
func (*DOMAttrEncoder) UnquotedString ¶
func (dm *DOMAttrEncoder) UnquotedString(key string, val string) error
UnquotedString encodes giving string value for string key.
func (*DOMAttrEncoder) WithAttr ¶
func (dm *DOMAttrEncoder) WithAttr(key string, fn func(encoder AttrEncoder) error) error
Attr implements encoding of multi-attribute based values.
type EventHashList ¶
type EventHashList struct {
// contains filtered or unexported fields
}
EventHashList implements the a set list for Nodes using their Node.RefID() value as unique keys.
func NewEventHashList ¶
func NewEventHashList() *EventHashList
NewEventHashList returns a new instance EventHashList.
func (*EventHashList) Add ¶
func (na *EventHashList) Add(eventName string, callNames ...string)
Add adds giving node into giving list if it has giving attribute value.
func (*EventHashList) AddJSONEvent ¶
func (na *EventHashList) AddJSONEvent(ev JSONEvent)
AddJSONEvent adds giving node into giving list if it has giving attribute value.
func (*EventHashList) Count ¶
func (na *EventHashList) Count() int
Count returns the total content count of map
func (*EventHashList) EncodeEvents ¶
func (na *EventHashList) EncodeEvents(encoder *strings.Builder) error
EncodeEvents encodes all giving event within provided event hash list.
func (*EventHashList) EncodeList ¶
func (na *EventHashList) EncodeList(enc npkg.ListEncoder)
EncodeList encodes underline events into provided list encoder.
func (*EventHashList) Len ¶
func (na *EventHashList) Len() int
Len returns the underline length of events in map.
func (*EventHashList) MatchEvents ¶
func (na *EventHashList) MatchEvents(other *EventHashList) bool
MatchEvents returns true if both are equal in keys and values.
func (*EventHashList) Remove ¶
func (na *EventHashList) Remove(eventName string, callNames ...string)
Remove removes giving node in list if it has giving handler.
func (*EventHashList) RemoveAll ¶
func (na *EventHashList) RemoveAll(event string)
RemoveAll removes giving node in list if it has giving attribute value.
func (*EventHashList) Reset ¶
func (na *EventHashList) Reset()
Reset resets the internal hashmap used for storing nodes. There by removing all registered nodes.
type FunctionApplier ¶
FunctionApplier defines a function type that implements the Mounter interface.
func (FunctionApplier) Mounter ¶
func (fn FunctionApplier) Mounter(n *Node) error
Mounter implements the Mounter interface.
type IDList ¶
type IDList map[string]NodeHashList
IDList defines a map type containing a giving class and associated nodes that match said classes.
type IdAttr ¶
type IdAttr string
IdAttr represent a Id attribute that sets the Id of a giving node.
func (IdAttr) EncodeAttr ¶
func (s IdAttr) EncodeAttr(encoder AttrEncoder) error
EncodeAttr implements the AttrEncodable interface.
func (IdAttr) EncodeObject ¶
func (s IdAttr) EncodeObject(enc npkg.ObjectEncoder)
EncodeObject implements encoding using the npkg.EncodableObject interface.
type IndexUpdated ¶
type IndexUpdated int
IndexUpdated defines a int type which is used to represent a index update.
type InputType ¶
type InputType string
InputType defines a string type for different input types.
const ( TypeButton InputType = "button" TypeCheckbox InputType = "checkbox" TypeColor InputType = "color" TypeDate InputType = "date" TypeDatetime InputType = "datetime" TypeDatetimeLocal InputType = "datetime-local" TypeEmail InputType = "email" TypeFile InputType = "file" TypeHidden InputType = "hidden" TypeImage InputType = "image" TypeMonth InputType = "month" TypeNumber InputType = "number" TypePassword InputType = "password" TypeRadio InputType = "radio" TypeRange InputType = "range" TypeMin InputType = "min" TypeMax InputType = "max" TypeValue InputType = "value" TypeStep InputType = "step" TypeReset InputType = "reset" TypeSearch InputType = "search" TypeSubmit InputType = "submit" TypeTel InputType = "tel" TypeText InputType = "text" TypeTime InputType = "time" TypeUrl InputType = "url" TypeWeek InputType = "week" )
Constants of input type in html.
type IntAtomImpl ¶
type IntAtomImpl struct {
// contains filtered or unexported fields
}
IntAtomImpl implements the Int interface, implementing the safe concurrent storing and reading of stored values without the use of mutex and relying on the atomic.Value construct, which is great for low-write and high-read usage.
func (*IntAtomImpl) Read ¶
func (am *IntAtomImpl) Read() int
Get returns the giving value stored within giving atom. It returns 0 if no value was ever set unless value set was 0.
func (*IntAtomImpl) Set ¶
func (am *IntAtomImpl) Set(val int)
Set attempts to set giving value into atom, if giving value is not the same underline type as previous set calls, then an error is returned.
type IntAttr ¶
IntAttr implements the Attr interface for a string key-value pair.
func NewIntAttr ¶
NewIntAttr returns a new instance of a IntAttr.
func (IntAttr) Contains ¶
Contains returns true/false if provided value is contained in attr.
Since we are dealing with a number, we attempt to convert the provided value into a number and match else return false.
func (IntAttr) EncodeAttr ¶
func (s IntAttr) EncodeAttr(encoder AttrEncoder) error
EncodeAttr implements the AttrEncodable interface.
func (IntAttr) EncodeObject ¶
func (s IntAttr) EncodeObject(enc npkg.ObjectEncoder)
EncodeObject implements encoding using the npkg.EncodableObject interface.
type IterableAttr ¶
IterableAttr defines an interface that exposes a method to iterate through all possible attribute values or value.
type JSONEvent ¶
func AbortEvent ¶
AbortEvent provides DOM Event representation for the Event "abort".
A transaction has been aborted. https://developer.mozilla.org/docs/Web/Reference/Events/abort_indexedDB
func AfterPrintEvent ¶
AfterPrintEvent provides DOM Event representation for the Event "AfterPrint".
The associated document has started printing or the print preview has been closed. https://developer.mozilla.org/docs/Web/Events/afterprint
func AfterScriptExecuteEvent ¶
AfterScriptExecuteEvent provides DOM Event representation for the Event "AfterScriptExecute".
A script has been executed. https://developer.mozilla.org/docs/Web/Events/afterscriptexecute
func AlertActiveEvent ¶
AlertActiveEvent provides DOM Event representation for the Event "AlertActive".
A notification element is shown. https://developer.mozilla.org/docs/Web/Reference/Events/AlertActive
func AlertCloseEvent ¶
AlertCloseEvent provides DOM Event representation for the Event "AlertClose".
A notification element is closed. https://developer.mozilla.org/docs/Web/Reference/Events/AlertClose
func AlertingEvent ¶
AlertingEvent provides DOM Event representation for the Event "alerting".
The correspondent is being alerted (his/her phone is ringing). https://developer.mozilla.org/docs/Web/Events/alerting
func AnimationEndEvent ¶
AnimationEndEvent provides DOM Event representation for the Event "AnimationEnd".
A CSS animation has completed. https://developer.mozilla.org/docs/Web/Events/animationend
func AnimationIterationEvent ¶
AnimationIterationEvent provides DOM Event representation for the Event "AnimationIteration".
A CSS animation is repeated. https://developer.mozilla.org/docs/Web/Events/animationiteration
func AnimationStartEvent ¶
AnimationStartEvent provides DOM Event representation for the Event "AnimationStart".
A CSS animation has started. https://developer.mozilla.org/docs/Web/Events/animationstart
func AnimationcancelEvent ¶
AnimationcancelEvent provides DOM Event representation for the Event "animationcancel".
A CSS animation has aborted. https://developer.mozilla.org/docs/Web/Events/animationcancel
func ApplicationInstalledEvent ¶
ApplicationInstalledEvent provides DOM Event representation for the Event "ApplicationInstalled".
A web application is successfully installed as a progressive web app. https://developer.mozilla.org/docs/Web/Events/appinstalled
func AudioEndEvent ¶
AudioEndEvent provides DOM Event representation for the Event "AudioEnd".
The user agent has finished capturing audio for speech recognition. https://developer.mozilla.org/docs/Web/Events/audioend
func AudioProcessEvent ¶
AudioProcessEvent provides DOM Event representation for the Event "AudioProcess".
The input buffer of a ScriptProcessorNode is ready to be processed. https://developer.mozilla.org/docs/Web/Events/audioprocess
func AudioStartEvent ¶
AudioStartEvent provides DOM Event representation for the Event "AudioStart".
The user agent has started to capture audio for speech recognition. https://developer.mozilla.org/docs/Web/Events/audiostart
func AuxclickEvent ¶
AuxclickEvent provides DOM Event representation for the Event "auxclick".
(no documentation) https://developer.mozilla.org/docs/Web/Events/auxclick
func BeforePrintEvent ¶
BeforePrintEvent provides DOM Event representation for the Event "BeforePrint".
The associated document is about to be printed or previewed for printing. https://developer.mozilla.org/docs/Web/Events/beforeprint
func BeforeUnloadEvent ¶
BeforeUnloadEvent provides DOM Event representation for the Event "BeforeUnload".
The window, the document and its resources are about to be unloaded. https://developer.mozilla.org/docs/Web/Events/beforeunload
func BeforeinstallpromptEvent ¶
BeforeinstallpromptEvent provides DOM Event representation for the Event "beforeinstallprompt".
A user is prompted to save a website to a home screen on mobile. https://developer.mozilla.org/docs/Web/Events/beforeinstallprompt
func BeforescriptexecuteEvent ¶
BeforescriptexecuteEvent provides DOM Event representation for the Event "beforescriptexecute".
A script is about to be executed. https://developer.mozilla.org/docs/Web/Events/beforescriptexecute
func BeginEventEvent ¶
BeginEventEvent provides DOM Event representation for the Event "beginEvent".
A SMIL animation element begins. https://developer.mozilla.org/docs/Web/Events/beginEvent
func BlockedEvent ¶
BlockedEvent provides DOM Event representation for the Event "blocked".
An open connection to a database is blocking a versionchange transaction on the same database. https://developer.mozilla.org/docs/Web/Reference/Events/blocked_indexedDB
func BlurEvent ¶
BlurEvent provides DOM Event representation for the Event "blur".
An element has lost focus (does not bubble). https://developer.mozilla.org/docs/Web/Events/blur
func BoundaryEvent ¶
BoundaryEvent provides DOM Event representation for the Event "boundary".
The spoken utterance reaches a word or sentence boundary https://developer.mozilla.org/docs/Web/Events/boundary
func BroadcastEvent ¶
BroadcastEvent provides DOM Event representation for the Event "broadcast".
An observer noticed a change to the attributes of a watched broadcaster. https://developer.mozilla.org/docs/Web/Events/broadcast
func BusyEvent ¶
BusyEvent provides DOM Event representation for the Event "busy".
The line of the correspondent is busy. https://developer.mozilla.org/docs/Web/Events/busy
func CSSRuleViewCSSLinkClickedEvent ¶
CSSRuleViewCSSLinkClickedEvent provides DOM Event representation for the Event "CSSRuleViewCSSLinkClicked".
A link to a CSS file has been clicked in the "Rules" view of the style inspector. https://developer.mozilla.org/docs/Web/Reference/Events/CssRuleViewCSSLinkClicked
func CSSRuleViewChangeEvent ¶
CSSRuleViewChangeEvent provides DOM Event representation for the Event "CSSRuleViewChange".
The "Rules" view of the style inspector has been changed. https://developer.mozilla.org/docs/Web/Reference/Events/CssRuleViewChanged
func CSSRuleViewRefreshedEvent ¶
CSSRuleViewRefreshedEvent provides DOM Event representation for the Event "CSSRuleViewRefreshed".
The "Rules" view of the style inspector has been updated. https://developer.mozilla.org/docs/Web/Reference/Events/CssRuleViewRefreshed
func CallschangedEvent ¶
CallschangedEvent provides DOM Event representation for the Event "callschanged".
A call has been added or removed from the list of current calls. https://developer.mozilla.org/docs/Web/Events/callschanged
func CanPlayEvent ¶
CanPlayEvent provides DOM Event representation for the Event "CanPlay".
The user agent can play the media, but estimates that not enough data has been loaded to play the media up to its end without having to stop for further buffering of content. https://developer.mozilla.org/docs/Web/Events/canplay
func CanPlayThroughEvent ¶
CanPlayThroughEvent provides DOM Event representation for the Event "CanPlayThrough".
The user agent can play the media up to its end without having to stop for further buffering of content. https://developer.mozilla.org/docs/Web/Events/canplaythrough
func CardstatechangeEvent ¶
CardstatechangeEvent provides DOM Event representation for the Event "cardstatechange".
The MozMobileConnection.cardState property changes value. https://developer.mozilla.org/docs/Web/Events/cardstatechange
func CfstatechangeEvent ¶
CfstatechangeEvent provides DOM Event representation for the Event "cfstatechange".
The call forwarding state changes. https://developer.mozilla.org/docs/Web/Events/cfstatechange
func ChangeEvent ¶
ChangeEvent provides DOM Event representation for the Event "change".
This event is triggered each time a file is created, modified, or deleted on a given storage area. https://developer.mozilla.org/docs/Web/Events/change
func ChargingChangeEvent ¶
ChargingChangeEvent provides DOM Event representation for the Event "ChargingChange".
The battery begins or stops charging. https://developer.mozilla.org/docs/Web/Events/chargingchange
func ChargingTimeChangeEvent ¶
ChargingTimeChangeEvent provides DOM Event representation for the Event "ChargingTimeChange".
The chargingTime attribute has been updated. https://developer.mozilla.org/docs/Web/Events/chargingtimechange
func CheckboxStateChangeEvent ¶
CheckboxStateChangeEvent provides DOM Event representation for the Event "CheckboxStateChange".
The state of a checkbox has been changed either by a user action or by a script (useful for accessibility). https://developer.mozilla.org/docs/Web/Events/CheckboxStateChange
func ClickEvent ¶
ClickEvent provides DOM Event representation for the Event "click".
A pointing device button has been pressed and released on an element. https://developer.mozilla.org/docs/Web/Events/click
func CloseEvent ¶
CloseEvent provides DOM Event representation for the Event "close".
The close button of the window has been clicked. https://developer.mozilla.org/docs/Web/Reference/Events/close_event
func CommandEvent ¶
CommandEvent provides DOM Event representation for the Event "command".
An element has been activated. https://developer.mozilla.org/docs/Web/Events/command
func CommandupdateEvent ¶
CommandupdateEvent provides DOM Event representation for the Event "commandupdate".
A command update occurred on a commandset element. https://developer.mozilla.org/docs/Web/Events/commandupdate
func CompleteEvent ¶
CompleteEvent provides DOM Event representation for the Event "complete".
The rendering of an OfflineAudioContext is terminated. https://developer.mozilla.org/docs/Web/Events/complete
func CompositionEndEvent ¶
CompositionEndEvent provides DOM Event representation for the Event "CompositionEnd".
The composition of a passage of text has been completed or canceled. https://developer.mozilla.org/docs/Web/Events/compositionend
func CompositionStartEvent ¶
CompositionStartEvent provides DOM Event representation for the Event "CompositionStart".
The composition of a passage of text is prepared (similar to keydown for a keyboard input, but works with other inputs such as speech recognition). https://developer.mozilla.org/docs/Web/Events/compositionstart
func CompositionUpdateEvent ¶
CompositionUpdateEvent provides DOM Event representation for the Event "CompositionUpdate".
A character is added to a passage of text being composed. https://developer.mozilla.org/docs/Web/Events/compositionupdate
func ConnectingEvent ¶
ConnectingEvent provides DOM Event representation for the Event "connecting".
A call is about to connect. https://developer.mozilla.org/docs/Web/Events/connecting
func ConnectionInfoUpdateEvent ¶
ConnectionInfoUpdateEvent provides DOM Event representation for the Event "connectionInfoUpdate".
The information about the signal strength and the link speed have been updated. https://developer.mozilla.org/docs/Web/Events/connectionInfoUpdate
func ContextMenuEvent ¶
ContextMenuEvent provides DOM Event representation for the Event "ContextMenu".
The right button of the mouse is clicked (before the context menu is displayed). https://developer.mozilla.org/docs/Web/Events/contextmenu
func CopyEvent ¶
CopyEvent provides DOM Event representation for the Event "copy".
The text selection has been added to the clipboard. https://developer.mozilla.org/docs/Web/Events/copy
func CutEvent ¶
CutEvent provides DOM Event representation for the Event "cut".
The text selection has been removed from the document and added to the clipboard. https://developer.mozilla.org/docs/Web/Events/cut
func DOMAttrModifiedEvent ¶ added in v0.1.8
DOMAttrModifiedEvent provides DOM Event representation for the Event "DOMAttrModified".
The value of an attribute has been modified (use mutation observers instead). https://developer.mozilla.org/docs/DOM/Mutation_events
func DOMAttributeNameChangedEvent ¶ added in v0.1.8
DOMAttributeNameChangedEvent provides DOM Event representation for the Event "DOMAttributeNameChanged".
The name of an attribute changed (use mutation observers instead). https://developer.mozilla.org/docs/DOM/Mutation_events
func DOMAutoCompleteEvent ¶
DOMAutoCompleteEvent provides DOM Event representation for the Event "DOMAutoComplete".
The content of an element has been auto-completed. https://developer.mozilla.org/docs/Web/Reference/Events/DOMAutoComplete
func DOMCharacterDataModifiedEvent ¶ added in v0.1.8
DOMCharacterDataModifiedEvent provides DOM Event representation for the Event "DOMCharacterDataModified".
A text or another CharacterData has changed (use mutation observers instead). https://developer.mozilla.org/docs/DOM/Mutation_events
func DOMContentLoadedEvent ¶
DOMContentLoadedEvent provides DOM Event representation for the Event "DOMContentLoaded".
The document has finished loading (but not its dependent resources). https://developer.mozilla.org/docs/Web/Events/DOMContentLoaded
func DOMElementNameChangedEvent ¶ added in v0.1.8
DOMElementNameChangedEvent provides DOM Event representation for the Event "DOMElementNameChanged".
The name of an element changed (use mutation observers instead). https://developer.mozilla.org/docs/DOM/Mutation_events
func DOMFrameContentLoadedEvent ¶
DOMFrameContentLoadedEvent provides DOM Event representation for the Event "DOMFrameContentLoaded".
The frame has finished loading (but not its dependent resources). https://developer.mozilla.org/docs/Web/Reference/Events/DOMFrameContentLoaded
func DOMLinkAddedEvent ¶
DOMLinkAddedEvent provides DOM Event representation for the Event "DOMLinkAdded".
A link has been added a document. https://developer.mozilla.org/docs/Web/Reference/Events/DOMLinkAdded
func DOMLinkRemovedEvent ¶
DOMLinkRemovedEvent provides DOM Event representation for the Event "DOMLinkRemoved".
A link has been removed inside from a document. https://developer.mozilla.org/docs/Web/Reference/Events/DOMLinkRemoved
func DOMMenuItemActiveEvent ¶
DOMMenuItemActiveEvent provides DOM Event representation for the Event "DOMMenuItemActive".
A menu or menuitem has been hovered or highlighted. https://developer.mozilla.org/docs/Web/Events/DOMMenuItemActive
func DOMMenuItemInactiveEvent ¶
DOMMenuItemInactiveEvent provides DOM Event representation for the Event "DOMMenuItemInactive".
A menu or menuitem is no longer hovered or highlighted. https://developer.mozilla.org/docs/Web/Events/DOMMenuItemInactive
func DOMMetaAddedEvent ¶
DOMMetaAddedEvent provides DOM Event representation for the Event "DOMMetaAdded".
A meta element has been added to a document. https://developer.mozilla.org/docs/Web/Reference/Events/DOMMetaAdded
func DOMMetaRemovedEvent ¶
DOMMetaRemovedEvent provides DOM Event representation for the Event "DOMMetaRemoved".
A meta element has been removed from a document. https://developer.mozilla.org/docs/Web/Reference/Events/DOMMetaRemoved
func DOMModalDialogClosedEvent ¶
DOMModalDialogClosedEvent provides DOM Event representation for the Event "DOMModalDialogClosed".
A modal dialog has been closed. https://developer.mozilla.org/docs/Web/Reference/Events/DOMModalDialogClosed
func DOMMouseScrollEvent ¶ added in v0.1.8
DOMMouseScrollEvent provides DOM Event representation for the Event "DOMMouseScroll".
The wheel button of a pointing device is rotated (detail attribute is a number of lines). (use wheel instead) https://developer.mozilla.org/docs/Web/Events/DOMMouseScroll
func DOMNodeInsertedEvent ¶ added in v0.1.8
DOMNodeInsertedEvent provides DOM Event representation for the Event "DOMNodeInserted".
A node has been added as a child of another node (use mutation observers instead). https://developer.mozilla.org/docs/DOM/Mutation_events
func DOMNodeInsertedIntoDocumentEvent ¶ added in v0.1.8
DOMNodeInsertedIntoDocumentEvent provides DOM Event representation for the Event "DOMNodeInsertedIntoDocument".
A node has been inserted into the document (use mutation observers instead). https://developer.mozilla.org/docs/DOM/Mutation_events
func DOMNodeRemovedEvent ¶ added in v0.1.8
DOMNodeRemovedEvent provides DOM Event representation for the Event "DOMNodeRemoved".
A node has been removed from its parent node (use mutation observers instead). https://developer.mozilla.org/docs/DOM/Mutation_events
func DOMNodeRemovedFromDocumentEvent ¶ added in v0.1.8
DOMNodeRemovedFromDocumentEvent provides DOM Event representation for the Event "DOMNodeRemovedFromDocument".
A node has been removed from the document (use mutation observers instead). https://developer.mozilla.org/docs/DOM/Mutation_events
func DOMPopupBlockedEvent ¶
DOMPopupBlockedEvent provides DOM Event representation for the Event "DOMPopupBlocked".
A popup has been blocked. https://developer.mozilla.org/docs/Web/Reference/Events/DOMPopupBlocked
func DOMSubtreeModifiedEvent ¶ added in v0.1.8
DOMSubtreeModifiedEvent provides DOM Event representation for the Event "DOMSubtreeModified".
A change happened in the document (use mutation observers instead). https://developer.mozilla.org/docs/DOM/Mutation_events
func DOMTitleChangedEvent ¶
DOMTitleChangedEvent provides DOM Event representation for the Event "DOMTitleChanged".
The title of a window has changed. https://developer.mozilla.org/docs/Web/Reference/Events/DOMTitleChanged
func DOMWillOpenModalDialogEvent ¶
DOMWillOpenModalDialogEvent provides DOM Event representation for the Event "DOMWillOpenModalDialog".
A modal dialog is about to open. https://developer.mozilla.org/docs/Web/Reference/Events/DOMWillOpenModalDialog
func DOMWindowCloseEvent ¶
DOMWindowCloseEvent provides DOM Event representation for the Event "DOMWindowClose".
A window is about to be closed. https://developer.mozilla.org/docs/Web/Reference/Events/DOMWindowClose
func DOMWindowCreatedEvent ¶
DOMWindowCreatedEvent provides DOM Event representation for the Event "DOMWindowCreated".
A window has been created. https://developer.mozilla.org/docs/Web/Reference/Events/DOMWindowCreated
func DatachangeEvent ¶
DatachangeEvent provides DOM Event representation for the Event "datachange".
The MozMobileConnection.data object changes values. https://developer.mozilla.org/docs/Web/Events/datachange
func DataerrorEvent ¶
DataerrorEvent provides DOM Event representation for the Event "dataerror".
The MozMobileConnection.data object receives an error from the RIL. https://developer.mozilla.org/docs/Web/Events/dataerror
func DeliveredEvent ¶
DeliveredEvent provides DOM Event representation for the Event "delivered".
An SMS has been successfully delivered. https://developer.mozilla.org/docs/Web/Events/delivered
func DeviceChangeEvent ¶
DeviceChangeEvent provides DOM Event representation for the Event "DeviceChange".
A media device such as a camera, microphone, or speaker is connected or removed from the system. https://developer.mozilla.org/docs/Web/Events/devicechange
func DeviceMotionEvent ¶
DeviceMotionEvent provides DOM Event representation for the Event "DeviceMotion".
Fresh data is available from a motion sensor. https://developer.mozilla.org/docs/Web/Events/devicemotion
func DeviceOrientationEvent ¶
DeviceOrientationEvent provides DOM Event representation for the Event "DeviceOrientation".
Fresh data is available from an orientation sensor. https://developer.mozilla.org/docs/Web/Events/deviceorientation
func DialingEvent ¶
DialingEvent provides DOM Event representation for the Event "dialing".
The number of a correspondent has been dialed. https://developer.mozilla.org/docs/Web/Events/dialing
func DisabledEvent ¶
DisabledEvent provides DOM Event representation for the Event "disabled".
WiFi has been disabled on the device. https://developer.mozilla.org/docs/Web/Events/disabled
func DischargingTimeChangeEvent ¶
DischargingTimeChangeEvent provides DOM Event representation for the Event "DischargingTimeChange".
The dischargingTime attribute has been updated. https://developer.mozilla.org/docs/Web/Events/dischargingtimechange
func DisconnectedEvent ¶
DisconnectedEvent provides DOM Event representation for the Event "disconnected".
A call has been disconnected. https://developer.mozilla.org/docs/Web/Events/disconnected
func DisconnectingEvent ¶
DisconnectingEvent provides DOM Event representation for the Event "disconnecting".
A call is about to disconnect. https://developer.mozilla.org/docs/Web/Events/disconnecting
func DoubleClickEvent ¶
DoubleClickEvent provides DOM Event representation for the Event "DoubleClick".
A pointing device button is clicked twice on an element. https://developer.mozilla.org/docs/Web/Events/dblclick
func DragEndEvent ¶
DragEndEvent provides DOM Event representation for the Event "DragEnd".
A drag operation is being ended (by releasing a mouse button or hitting the escape key). https://developer.mozilla.org/docs/Web/Events/dragend
func DragEnterEvent ¶
DragEnterEvent provides DOM Event representation for the Event "DragEnter".
A dragged element or text selection enters a valid drop target. https://developer.mozilla.org/docs/Web/Events/dragenter
func DragEvent ¶
DragEvent provides DOM Event representation for the Event "drag".
An element or text selection is being dragged (every 350ms). https://developer.mozilla.org/docs/Web/Events/drag
func DragLeaveEvent ¶
DragLeaveEvent provides DOM Event representation for the Event "DragLeave".
A dragged element or text selection leaves a valid drop target. https://developer.mozilla.org/docs/Web/Events/dragleave
func DragOverEvent ¶
DragOverEvent provides DOM Event representation for the Event "DragOver".
An element or text selection is being dragged over a valid drop target (fires every 350ms). https://developer.mozilla.org/docs/Web/Events/dragover
func DragStartEvent ¶
DragStartEvent provides DOM Event representation for the Event "DragStart".
The user starts dragging an element or text selection. https://developer.mozilla.org/docs/Web/Events/dragstart
func DropEvent ¶
DropEvent provides DOM Event representation for the Event "drop".
An element is dropped on a valid drop target. https://developer.mozilla.org/docs/Web/Events/drop
func DurationChangeEvent ¶
DurationChangeEvent provides DOM Event representation for the Event "DurationChange".
The duration attribute has been updated. https://developer.mozilla.org/docs/Web/Events/durationchange
func EmptiedEvent ¶
EmptiedEvent provides DOM Event representation for the Event "emptied".
The media has become empty. For example, this event is triggered if the media has already been loaded (or partially loaded), and the load() method is called to reload it. https://developer.mozilla.org/docs/Web/Events/emptied
func EnabledEvent ¶
EnabledEvent provides DOM Event representation for the Event "enabled".
WiFi has been enabled on the device. https://developer.mozilla.org/docs/Web/Events/enabled
func EndEvent ¶
EndEvent provides DOM Event representation for the Event "end".
The utterance has finished being spoken. https://developer.mozilla.org/docs/Web/Events/end_(SpeechSynthesis)
func EndEventEvent ¶
EndEventEvent provides DOM Event representation for the Event "endEvent".
A SMIL animation element ends. https://developer.mozilla.org/docs/Web/Events/endEvent
func EndedEvent ¶
EndedEvent provides DOM Event representation for the Event "ended".
Playback has stopped because the end of the media was reached. https://developer.mozilla.org/docs/Web/Events/ended_(Web_Audio)
func FocusEvent ¶
FocusEvent provides DOM Event representation for the Event "focus".
An element has received focus (does not bubble). https://developer.mozilla.org/docs/Web/Events/focus
func FocusInEvent ¶
FocusInEvent provides DOM Event representation for the Event "FocusIn".
An element is about to receive focus (bubbles). https://developer.mozilla.org/docs/Web/Events/focusin
func FocusOutEvent ¶
FocusOutEvent provides DOM Event representation for the Event "FocusOut".
An element is about to lose focus (bubbles). https://developer.mozilla.org/docs/Web/Events/focusout
func FullScreenChangeEvent ¶
FullScreenChangeEvent provides DOM Event representation for the Event "FullScreenChange".
An element was toggled to or from fullscreen mode. https://developer.mozilla.org/docs/Web/Events/fullscreenchange
func FullScreenErrorEvent ¶
FullScreenErrorEvent provides DOM Event representation for the Event "FullScreenError".
It was impossible to switch to fullscreen mode for technical reasons or because the permission was denied. https://developer.mozilla.org/docs/Web/Events/fullscreenerror
func FullscreenEvent ¶
FullscreenEvent provides DOM Event representation for the Event "fullscreen".
Browser fullscreen mode has been toggled. https://developer.mozilla.org/docs/Web/Reference/Events/fullscreen
func GamepadConnectedEvent ¶
GamepadConnectedEvent provides DOM Event representation for the Event "GamepadConnected".
A gamepad has been connected. https://developer.mozilla.org/docs/Web/Events/gamepadconnected
func GamepadDisconnectedEvent ¶
GamepadDisconnectedEvent provides DOM Event representation for the Event "GamepadDisconnected".
A gamepad has been disconnected. https://developer.mozilla.org/docs/Web/Events/gamepaddisconnected
func GotPointerCaptureEvent ¶
GotPointerCaptureEvent provides DOM Event representation for the Event "GotPointerCapture".
Element receives pointer capture. https://developer.mozilla.org/docs/Web/Events/gotpointercapture
func HashChangeEvent ¶
HashChangeEvent provides DOM Event representation for the Event "HashChange".
The fragment identifier of the URL has changed (the part of the URL after the #). https://developer.mozilla.org/docs/Web/Events/hashchange
func HeldEvent ¶
HeldEvent provides DOM Event representation for the Event "held".
A call has been held. https://developer.mozilla.org/docs/Web/Events/held
func HoldingEvent ¶
HoldingEvent provides DOM Event representation for the Event "holding".
A call is about to be held. https://developer.mozilla.org/docs/Web/Events/holding
func ICCCardLockErrorEvent ¶
ICCCardLockErrorEvent provides DOM Event representation for the Event "ICCCardLockError".
The MozMobileConnection.unlockCardLock() or MozMobileConnection.setCardLock() methods fail. https://developer.mozilla.org/docs/Web/Events/icccardlockerror
func IccinfochangeEvent ¶
IccinfochangeEvent provides DOM Event representation for the Event "iccinfochange".
The MozMobileConnection.iccInfo object changes. https://developer.mozilla.org/docs/Web/Events/iccinfochange
func IncomingEvent ¶
IncomingEvent provides DOM Event representation for the Event "incoming".
A call is being received. https://developer.mozilla.org/docs/Web/Events/incoming
func InputEvent ¶
InputEvent provides DOM Event representation for the Event "input".
The value of an element changes or the content of an element with the attribute contenteditable is modified. https://developer.mozilla.org/docs/Web/Events/input
func InvalidEvent ¶
InvalidEvent provides DOM Event representation for the Event "invalid".
A submittable element has been checked and doesn't satisfy its constraints. https://developer.mozilla.org/docs/Web/Events/invalid
func KeyDownEvent ¶
KeyDownEvent provides DOM Event representation for the Event "KeyDown".
A key is pressed down. https://developer.mozilla.org/docs/Web/Events/keydown
func KeyPressEvent ¶
KeyPressEvent provides DOM Event representation for the Event "KeyPress".
A key is pressed down, and that key normally produces a character value (use input event instead). https://developer.mozilla.org/docs/Web/Events/keypress
func KeyUpEvent ¶
KeyUpEvent provides DOM Event representation for the Event "KeyUp".
A key is released. https://developer.mozilla.org/docs/Web/Events/keyup
func LanguageChangeEvent ¶
LanguageChangeEvent provides DOM Event representation for the Event "LanguageChange".
The user's preferred languages have changed. https://developer.mozilla.org/docs/Web/Events/languagechange
func LevelChangeEvent ¶
LevelChangeEvent provides DOM Event representation for the Event "LevelChange".
The level attribute has been updated. https://developer.mozilla.org/docs/Web/Events/levelchange
func LoadEndEvent ¶
LoadEndEvent provides DOM Event representation for the Event "LoadEnd".
Progress has stopped (after "error", "abort", or "load" have been dispatched). https://developer.mozilla.org/docs/Web/Events/loadend
func LoadEvent ¶
LoadEvent provides DOM Event representation for the Event "load".
Progression has been successful. https://developer.mozilla.org/docs/Web/Reference/Events/load_(ProgressEvent)
func LoadStartEvent ¶
LoadStartEvent provides DOM Event representation for the Event "LoadStart".
Progress has begun. https://developer.mozilla.org/docs/Web/Events/loadstart
func LoadedDataEvent ¶
LoadedDataEvent provides DOM Event representation for the Event "LoadedData".
The first frame of the media has finished loading. https://developer.mozilla.org/docs/Web/Events/loadeddata
func LoadedMetadataEvent ¶
LoadedMetadataEvent provides DOM Event representation for the Event "LoadedMetadata".
The metadata has been loaded. https://developer.mozilla.org/docs/Web/Events/loadedmetadata
func LocalizedEvent ¶
LocalizedEvent provides DOM Event representation for the Event "localized".
The page has been localized using data-l10n-* attributes. https://developer.mozilla.org/docs/Web/Events/localized
func LostPointerCaptureEvent ¶
LostPointerCaptureEvent provides DOM Event representation for the Event "LostPointerCapture".
Element lost pointer capture. https://developer.mozilla.org/docs/Web/Events/lostpointercapture
func MSManipulationStateChangedEvent ¶
MSManipulationStateChangedEvent provides DOM Event representation for the Event "MSManipulationStateChanged".
(no documentation) https://developer.mozilla.org/docs/Web/Events/MSManipulationStateChanged
func MSPointerHoverEvent ¶ added in v0.1.8
MSPointerHoverEvent provides DOM Event representation for the Event "MSPointerHover".
(no documentation) https://developer.mozilla.org/docs/Web/Events/MSPointerHover
func MarkEvent ¶
MarkEvent provides DOM Event representation for the Event "mark".
The spoken utterance reaches a named SSML "mark" tag. https://developer.mozilla.org/docs/Web/Events/mark
func MessageErrorEvent ¶
MessageErrorEvent provides DOM Event representation for the Event "MessageError".
A message error is raised when a message is received by an object. https://developer.mozilla.org/docs/Web/Events/messageerror
func MessageEvent ¶
MessageEvent provides DOM Event representation for the Event "message".
A message is received from a service worker, or a message is received in a service worker from another context. https://developer.mozilla.org/docs/Web/Events/message_(ServiceWorker)
func MouseDownEvent ¶
MouseDownEvent provides DOM Event representation for the Event "MouseDown".
A pointing device button (usually a mouse) is pressed on an element. https://developer.mozilla.org/docs/Web/Events/mousedown
func MouseEnterEvent ¶
MouseEnterEvent provides DOM Event representation for the Event "MouseEnter".
A pointing device is moved onto the element that has the listener attached. https://developer.mozilla.org/docs/Web/Events/mouseenter
func MouseLeaveEvent ¶
MouseLeaveEvent provides DOM Event representation for the Event "MouseLeave".
A pointing device is moved off the element that has the listener attached. https://developer.mozilla.org/docs/Web/Events/mouseleave
func MouseMoveEvent ¶
MouseMoveEvent provides DOM Event representation for the Event "MouseMove".
A pointing device is moved over an element. https://developer.mozilla.org/docs/Web/Events/mousemove
func MouseOutEvent ¶
MouseOutEvent provides DOM Event representation for the Event "MouseOut".
A pointing device is moved off the element that has the listener attached or off one of its children. https://developer.mozilla.org/docs/Web/Events/mouseout
func MouseOverEvent ¶
MouseOverEvent provides DOM Event representation for the Event "MouseOver".
A pointing device is moved onto the element that has the listener attached or onto one of its children. https://developer.mozilla.org/docs/Web/Events/mouseover
func MouseUpEvent ¶
MouseUpEvent provides DOM Event representation for the Event "MouseUp".
A pointing device button is released over an element. https://developer.mozilla.org/docs/Web/Events/mouseup
func MousewheelEvent ¶ added in v0.1.8
MousewheelEvent provides DOM Event representation for the Event "mousewheel".
The wheel button of a pointing device is rotated. https://developer.mozilla.org/docs/Web/Events/mousewheel
func MozAfterPaintEvent ¶
MozAfterPaintEvent provides DOM Event representation for the Event "MozAfterPaint".
Content has been repainted. https://developer.mozilla.org/docs/Web/Reference/Events/MozAfterPaint
func MozAudioAvailableEvent ¶
MozAudioAvailableEvent provides DOM Event representation for the Event "MozAudioAvailable".
The audio buffer is full and the corresponding raw samples are available. https://developer.mozilla.org/docs/Web/Events/MozAudioAvailable
func MozBeforeResizeEvent ¶
MozBeforeResizeEvent provides DOM Event representation for the Event "MozBeforeResize".
A window is about to be resized. https://developer.mozilla.org/docs/Web/Reference/Events/MozBeforeResize
func MozEdgeUIGestureEvent ¶
MozEdgeUIGestureEvent provides DOM Event representation for the Event "MozEdgeUIGesture".
A touch point is swiped across the touch surface to invoke the Edge UI (Win8 only). https://developer.mozilla.org/docs/Web/Reference/Events/MozEdgeUIGesture
func MozEnteredDomFullscreenEvent ¶
MozEnteredDomFullscreenEvent provides DOM Event representation for the Event "MozEnteredDomFullscreen".
DOM fullscreen mode has been entered. https://developer.mozilla.org/docs/Web/Reference/Events/MozEnteredDomFullscreen
func MozGamepadButtonDownEvent ¶
MozGamepadButtonDownEvent provides DOM Event representation for the Event "MozGamepadButtonDown".
A gamepad button is pressed down. https://developer.mozilla.org/docs/Web/Events/MozGamepadButtonDown
func MozGamepadButtonUpEvent ¶
MozGamepadButtonUpEvent provides DOM Event representation for the Event "MozGamepadButtonUp".
A gamepad button is released. https://developer.mozilla.org/docs/Web/Events/MozGamepadButtonUp
func MozMagnifyGestureEvent ¶
MozMagnifyGestureEvent provides DOM Event representation for the Event "MozMagnifyGesture".
Two touch points moved away from each other (after a sequence of MozMagnifyGestureUpdate). https://developer.mozilla.org/docs/Web/Reference/Events/MozMagnifyGesture
func MozMagnifyGestureStartEvent ¶
MozMagnifyGestureStartEvent provides DOM Event representation for the Event "MozMagnifyGestureStart".
Two touch points start to move away from each other. https://developer.mozilla.org/docs/Web/Reference/Events/MozMagnifyGestureStart
func MozMagnifyGestureUpdateEvent ¶
MozMagnifyGestureUpdateEvent provides DOM Event representation for the Event "MozMagnifyGestureUpdate".
Two touch points move away from each other (after a MozMagnifyGestureStart). https://developer.mozilla.org/docs/Web/Reference/Events/MozMagnifyGestureUpdate
func MozMousePixelScrollEvent ¶ added in v0.1.8
MozMousePixelScrollEvent provides DOM Event representation for the Event "MozMousePixelScroll".
The wheel button of a pointing device is rotated (detail attribute is a number of pixels). (use wheel instead) https://developer.mozilla.org/docs/Web/Events/MozMousePixelScroll
func MozOrientationEvent ¶ added in v0.1.8
MozOrientationEvent provides DOM Event representation for the Event "MozOrientation".
Fresh data is available from an orientation sensor (see deviceorientation). https://developer.mozilla.org/docs/Web/Events/MozOrientation
func MozPressTapGestureEvent ¶
MozPressTapGestureEvent provides DOM Event representation for the Event "MozPressTapGesture".
A "press-tap" gesture happened on the touch surface (first finger down, second finger down, second finger up, first finger up). https://developer.mozilla.org/docs/Web/Reference/Events/MozPressTapGesture
func MozRotateGestureEvent ¶
MozRotateGestureEvent provides DOM Event representation for the Event "MozRotateGesture".
Two touch points rotate around a point (after a sequence of MozRotateGestureUpdate). https://developer.mozilla.org/docs/Web/Reference/Events/MozRotateGesture
func MozRotateGestureStartEvent ¶
MozRotateGestureStartEvent provides DOM Event representation for the Event "MozRotateGestureStart".
Two touch points start to rotate around a point. https://developer.mozilla.org/docs/Web/Reference/Events/MozRotateGestureStart
func MozRotateGestureUpdateEvent ¶
MozRotateGestureUpdateEvent provides DOM Event representation for the Event "MozRotateGestureUpdate".
Two touch points rotate around a point (after a MozRotateGestureStart). https://developer.mozilla.org/docs/Web/Reference/Events/MozRotateGestureUpdate
func MozScrolledAreaChangedEvent ¶
MozScrolledAreaChangedEvent provides DOM Event representation for the Event "MozScrolledAreaChanged".
The document view has been scrolled or resized. https://developer.mozilla.org/docs/Web/Events/MozScrolledAreaChanged
func MozSwipeGestureEvent ¶
MozSwipeGestureEvent provides DOM Event representation for the Event "MozSwipeGesture".
A touch point is swiped across the touch surface. https://developer.mozilla.org/docs/Web/Reference/Events/MozSwipeGesture
func MozTapGestureEvent ¶
MozTapGestureEvent provides DOM Event representation for the Event "MozTapGesture".
Two touch points are tapped on the touch surface. https://developer.mozilla.org/docs/Web/Reference/Events/MozTapGesture
func MozTouchDownEvent ¶ added in v0.1.8
MozTouchDownEvent provides DOM Event representation for the Event "MozTouchDown".
A touch point is placed on the touch surface (use touchstart instead). https://developer.mozilla.org/DOM/Touch_events_(Mozilla_experimental)
func MozTouchMoveEvent ¶ added in v0.1.8
MozTouchMoveEvent provides DOM Event representation for the Event "MozTouchMove".
A touch point is moved along the touch surface (use touchmove instead). https://developer.mozilla.org/DOM/Touch_events_(Mozilla_experimental)
func MozTouchUpEvent ¶ added in v0.1.8
MozTouchUpEvent provides DOM Event representation for the Event "MozTouchUp".
A touch point is removed from the touch surface (use touchend instead). https://developer.mozilla.org/DOM/Touch_events_(Mozilla_experimental)
func MozbrowseractivitydoneEvent ¶
MozbrowseractivitydoneEvent provides DOM Event representation for the Event "mozbrowseractivitydone".
Sent when some activity has been completed (complete description TBD.) https://developer.mozilla.org/docs/Web/Events/mozbrowseractivitydone
func MozbrowserasyncscrollEvent ¶
MozbrowserasyncscrollEvent provides DOM Event representation for the Event "mozbrowserasyncscroll".
Sent when the scroll position within a browser <iframe> changes. https://developer.mozilla.org/docs/Web/Events/mozbrowserasyncscroll
func MozbrowseraudioplaybackchangeEvent ¶
MozbrowseraudioplaybackchangeEvent provides DOM Event representation for the Event "mozbrowseraudioplaybackchange".
Sent when audio starts or stops playing within the browser <iframe> content. https://developer.mozilla.org/docs/Web/Events/mozbrowseraudioplaybackchange
func MozbrowsercaretstatechangedEvent ¶
MozbrowsercaretstatechangedEvent provides DOM Event representation for the Event "mozbrowsercaretstatechanged".
Sent when the text selected inside the browser <iframe> content changes. https://developer.mozilla.org/docs/Web/Events/mozbrowsercaretstatechanged
func MozbrowsercloseEvent ¶
MozbrowsercloseEvent provides DOM Event representation for the Event "mozbrowserclose".
Sent when window.close() is called within a browser <iframe>. https://developer.mozilla.org/docs/Web/Events/mozbrowserclose
func MozbrowsercontextmenuEvent ¶
MozbrowsercontextmenuEvent provides DOM Event representation for the Event "mozbrowsercontextmenu".
Sent when a browser <iframe> tries to open a context menu. https://developer.mozilla.org/docs/Web/Events/mozbrowsercontextmenu
func MozbrowserdocumentfirstpaintEvent ¶
MozbrowserdocumentfirstpaintEvent provides DOM Event representation for the Event "mozbrowserdocumentfirstpaint".
Sent when a new paint occurs on any document in the browser <iframe>. https://developer.mozilla.org/docs/Web/Events/mozbrowserdocumentfirstpaint
func MozbrowsererrorEvent ¶
MozbrowsererrorEvent provides DOM Event representation for the Event "mozbrowsererror".
Sent when an error occurred while trying to load a content within a browser <iframe>. https://developer.mozilla.org/docs/Web/Events/mozbrowsererror
func MozbrowserfindchangeEvent ¶
MozbrowserfindchangeEvent provides DOM Event representation for the Event "mozbrowserfindchange".
Sent when a search operation is performed on the browser <iframe> content (see HTMLIFrameElement search methods.) https://developer.mozilla.org/docs/Web/Events/mozbrowserfindchange
func MozbrowserfirstpaintEvent ¶
MozbrowserfirstpaintEvent provides DOM Event representation for the Event "mozbrowserfirstpaint".
Sent when the <iframe> paints content for the first time (this doesn't include the initial paint from about:blank.) https://developer.mozilla.org/docs/Web/Events/mozbrowserfirstpaint
func MozbrowsericonchangeEvent ¶
MozbrowsericonchangeEvent provides DOM Event representation for the Event "mozbrowsericonchange".
Sent when the favicon of a browser <iframe> changes. https://developer.mozilla.org/docs/Web/Events/mozbrowsericonchange
func MozbrowserloadendEvent ¶
MozbrowserloadendEvent provides DOM Event representation for the Event "mozbrowserloadend".
Sent when the browser <iframe> has finished loading all its assets. https://developer.mozilla.org/docs/Web/Events/mozbrowserloadend
func MozbrowserloadstartEvent ¶
MozbrowserloadstartEvent provides DOM Event representation for the Event "mozbrowserloadstart".
Sent when the browser <iframe> starts to load a new page. https://developer.mozilla.org/docs/Web/Events/mozbrowserloadstart
func MozbrowserlocationchangeEvent ¶
MozbrowserlocationchangeEvent provides DOM Event representation for the Event "mozbrowserlocationchange".
Sent when a browser <iframe>'s location changes. https://developer.mozilla.org/docs/Web/Events/mozbrowserlocationchange
func MozbrowsermanifestchangeEvent ¶
MozbrowsermanifestchangeEvent provides DOM Event representation for the Event "mozbrowsermanifestchange".
Sent when the path to the app manifest changes, in the case of a browser <iframe> with an open web app embedded in it. https://developer.mozilla.org/docs/Web/Events/mozbrowsermanifestchange
func MozbrowsermetachangeEvent ¶
MozbrowsermetachangeEvent provides DOM Event representation for the Event "mozbrowsermetachange".
Sent when a <meta> element is added to, removed from, or changed in the browser <iframe>'s content. https://developer.mozilla.org/docs/Web/Events/mozbrowsermetachange
func MozbrowseropensearchEvent ¶
MozbrowseropensearchEvent provides DOM Event representation for the Event "mozbrowseropensearch".
Sent when a link to a search engine is found. https://developer.mozilla.org/docs/Web/Events/mozbrowseropensearch
func MozbrowseropentabEvent ¶
MozbrowseropentabEvent provides DOM Event representation for the Event "mozbrowseropentab".
Sent when a new tab is opened within a browser <iframe> as a result of the user issuing a command to open a link target in a new tab (for example Ctrl/Cmd + click.) https://developer.mozilla.org/docs/Web/Events/mozbrowseropentab
func MozbrowseropenwindowEvent ¶
MozbrowseropenwindowEvent provides DOM Event representation for the Event "mozbrowseropenwindow".
Sent when window.open() is called within a browser iframe. https://developer.mozilla.org/docs/Web/Events/mozbrowseropenwindow
func MozbrowserresizeEvent ¶
MozbrowserresizeEvent provides DOM Event representation for the Event "mozbrowserresize".
Sent when the browser <iframe>'s window size has changed. https://developer.mozilla.org/docs/Web/Events/mozbrowserresize
func MozbrowserscrollEvent ¶
MozbrowserscrollEvent provides DOM Event representation for the Event "mozbrowserscroll".
Sent when the browser <iframe> content scrolls. https://developer.mozilla.org/docs/Web/Events/mozbrowserscroll
func MozbrowserscrollareachangedEvent ¶
MozbrowserscrollareachangedEvent provides DOM Event representation for the Event "mozbrowserscrollareachanged".
Sent when the available scrolling area in the browser <iframe> changes. This can occur on resize and when the page size changes (while loading for example.) https://developer.mozilla.org/docs/Web/Events/mozbrowserscrollareachanged
func MozbrowserscrollviewchangeEvent ¶
MozbrowserscrollviewchangeEvent provides DOM Event representation for the Event "mozbrowserscrollviewchange".
Sent when asynchronous scrolling (i.e. APCZ) starts or stops. https://developer.mozilla.org/docs/Web/Events/mozbrowserscrollviewchange
func MozbrowsersecuritychangeEvent ¶
MozbrowsersecuritychangeEvent provides DOM Event representation for the Event "mozbrowsersecuritychange".
Sent when the SSL state changes within a browser <iframe>. https://developer.mozilla.org/docs/Web/Events/mozbrowsersecuritychange
func MozbrowserselectionstatechangedEvent ¶ added in v0.1.8
MozbrowserselectionstatechangedEvent provides DOM Event representation for the Event "mozbrowserselectionstatechanged".
Sent when the text selected inside the browser <iframe> content changes. Note that this is deprecated, and newer implementations use mozbrowsercaretstatechanged instead. https://developer.mozilla.org/docs/Web/Events/mozbrowserselectionstatechanged
func MozbrowsershowmodalpromptEvent ¶
MozbrowsershowmodalpromptEvent provides DOM Event representation for the Event "mozbrowsershowmodalprompt".
Sent when alert(), confirm() or prompt() are called within a browser <iframe> https://developer.mozilla.org/docs/Web/Events/mozbrowsershowmodalprompt
func MozbrowsertitlechangeEvent ¶
MozbrowsertitlechangeEvent provides DOM Event representation for the Event "mozbrowsertitlechange".
Sent when the document.title changes within a browser iframe. https://developer.mozilla.org/docs/Web/Events/mozbrowsertitlechange
func MozbrowserusernameandpasswordrequiredEvent ¶
MozbrowserusernameandpasswordrequiredEvent provides DOM Event representation for the Event "mozbrowserusernameandpasswordrequired".
Sent when an HTTP authentication is requested. https://developer.mozilla.org/docs/Web/Events/mozbrowserusernameandpasswordrequired
func MozbrowservisibilitychangeEvent ¶
MozbrowservisibilitychangeEvent provides DOM Event representation for the Event "mozbrowservisibilitychange".
Sent when the visibility state of the current browser iframe <iframe> changes, for example due to a call to setVisible(). https://developer.mozilla.org/docs/Web/Events/mozbrowservisibilitychange
func MoztimechangeEvent ¶
MoztimechangeEvent provides DOM Event representation for the Event "moztimechange".
The time of the device has been changed. https://developer.mozilla.org/docs/Web/Events/moztimechange
func MsContentZoomEvent ¶
MsContentZoomEvent provides DOM Event representation for the Event "msContentZoom".
(no documentation) https://developer.mozilla.org/docs/Web/Events/msContentZoom
func NewJSONEvent ¶
func NoMatchEvent ¶
NoMatchEvent provides DOM Event representation for the Event "NoMatch".
The speech recognition service returns a final result with no significant recognition. https://developer.mozilla.org/docs/Web/Events/nomatch
func NotificationClickEvent ¶
NotificationClickEvent provides DOM Event representation for the Event "NotificationClick".
A system notification spawned by ServiceWorkerRegistration.showNotification() has been clicked. https://developer.mozilla.org/docs/Web/Events/notificationclick
func OfflineEvent ¶
OfflineEvent provides DOM Event representation for the Event "offline".
The browser has lost access to the network. https://developer.mozilla.org/docs/Web/Events/offline
func OnconnectedEvent ¶
OnconnectedEvent provides DOM Event representation for the Event "onconnected".
A call has been connected. https://developer.mozilla.org/docs/DOM/onconnected
func OnlineEvent ¶
OnlineEvent provides DOM Event representation for the Event "online".
The browser has gained access to the network (but particular websites might be unreachable). https://developer.mozilla.org/docs/Web/Events/online
func OpenEvent ¶
OpenEvent provides DOM Event representation for the Event "open".
An event source connection has been established. https://developer.mozilla.org/docs/Web/Reference/Events/open_serversentevents
func OrientationChangeEvent ¶
OrientationChangeEvent provides DOM Event representation for the Event "OrientationChange".
The orientation of the device (portrait/landscape) has changed. https://developer.mozilla.org/docs/Web/Events/orientationchange
func OverflowEvent ¶
OverflowEvent provides DOM Event representation for the Event "overflow".
An element has been overflowed by its content or has been rendered for the first time in this state (only works for elements styled with overflow != visible). https://developer.mozilla.org/docs/Web/Events/overflow
func PageHideEvent ¶
PageHideEvent provides DOM Event representation for the Event "PageHide".
A session history entry is being traversed from. https://developer.mozilla.org/docs/Web/Events/pagehide
func PageShowEvent ¶
PageShowEvent provides DOM Event representation for the Event "PageShow".
A session history entry is being traversed to. https://developer.mozilla.org/docs/Web/Events/pageshow
func PasteEvent ¶
PasteEvent provides DOM Event representation for the Event "paste".
Data has been transferred from the system clipboard to the document. https://developer.mozilla.org/docs/Web/Events/paste
func PauseEvent ¶
PauseEvent provides DOM Event representation for the Event "pause".
The utterance is paused part way through. https://developer.mozilla.org/docs/Web/Events/pause_(SpeechSynthesis)
func PlayEvent ¶
PlayEvent provides DOM Event representation for the Event "play".
Playback has begun. https://developer.mozilla.org/docs/Web/Events/play
func PlayingEvent ¶
PlayingEvent provides DOM Event representation for the Event "playing".
Playback is ready to start after having been paused or delayed due to lack of data. https://developer.mozilla.org/docs/Web/Events/playing
func PointerCancelEvent ¶
PointerCancelEvent provides DOM Event representation for the Event "PointerCancel".
The pointer is unlikely to produce any more events. https://developer.mozilla.org/docs/Web/Events/pointercancel
func PointerDownEvent ¶
PointerDownEvent provides DOM Event representation for the Event "PointerDown".
The pointer enters the active buttons state. https://developer.mozilla.org/docs/Web/Events/pointerdown
func PointerEnterEvent ¶
PointerEnterEvent provides DOM Event representation for the Event "PointerEnter".
Pointing device is moved inside the hit-testing boundary. https://developer.mozilla.org/docs/Web/Events/pointerenter
func PointerLeaveEvent ¶
PointerLeaveEvent provides DOM Event representation for the Event "PointerLeave".
Pointing device is moved out of the hit-testing boundary. https://developer.mozilla.org/docs/Web/Events/pointerleave
func PointerLockChangeEvent ¶
PointerLockChangeEvent provides DOM Event representation for the Event "PointerLockChange".
The pointer was locked or released. https://developer.mozilla.org/docs/Web/Events/pointerlockchange
func PointerLockErrorEvent ¶
PointerLockErrorEvent provides DOM Event representation for the Event "PointerLockError".
It was impossible to lock the pointer for technical reasons or because the permission was denied. https://developer.mozilla.org/docs/Web/Events/pointerlockerror
func PointerMoveEvent ¶
PointerMoveEvent provides DOM Event representation for the Event "PointerMove".
The pointer changed coordinates. https://developer.mozilla.org/docs/Web/Events/pointermove
func PointerOutEvent ¶
PointerOutEvent provides DOM Event representation for the Event "PointerOut".
The pointing device moves out of the hit-testing boundary or leaves detectable hover range. https://developer.mozilla.org/docs/Web/Events/pointerout
func PointerOverEvent ¶
PointerOverEvent provides DOM Event representation for the Event "PointerOver".
The pointing device is moved into the hit-testing boundary. https://developer.mozilla.org/docs/Web/Events/pointerover
func PointerUpEvent ¶
PointerUpEvent provides DOM Event representation for the Event "PointerUp".
The pointer leaves the active button state. https://developer.mozilla.org/docs/Web/Events/pointerup
func PopStateEvent ¶
PopStateEvent provides DOM Event representation for the Event "PopState".
A session history entry is being navigated to (in certain cases). https://developer.mozilla.org/docs/Web/Events/popstate
func PopuphiddenEvent ¶
PopuphiddenEvent provides DOM Event representation for the Event "popuphidden".
A menupopup, panel, or tooltip has been hidden. https://developer.mozilla.org/docs/Web/Events/popuphidden
func PopuphidingEvent ¶
PopuphidingEvent provides DOM Event representation for the Event "popuphiding".
A menupopup, panel, or tooltip is about to be hidden. https://developer.mozilla.org/docs/Web/Events/popuphiding
func PopupshowingEvent ¶
PopupshowingEvent provides DOM Event representation for the Event "popupshowing".
A menupopup, panel, or tooltip is about to become visible. https://developer.mozilla.org/docs/Web/Events/popupshowing
func PopupshownEvent ¶
PopupshownEvent provides DOM Event representation for the Event "popupshown".
A menupopup, panel, or tooltip has become visible. https://developer.mozilla.org/docs/Web/Events/popupshown
func ProgressEvent ¶
ProgressEvent provides DOM Event representation for the Event "progress".
In progress. https://developer.mozilla.org/docs/Web/Events/progress
func PushEvent ¶
PushEvent provides DOM Event representation for the Event "push".
A Service Worker has received a push message. https://developer.mozilla.org/docs/Web/Events/push
func PushSubscriptionChangeEvent ¶
PushSubscriptionChangeEvent provides DOM Event representation for the Event "PushSubscriptionChange".
A PushSubscription has expired. https://developer.mozilla.org/docs/Web/Events/pushsubscriptionchange
func RadioStateChangeEvent ¶
RadioStateChangeEvent provides DOM Event representation for the Event "RadioStateChange".
The state of a radio has been changed either by a user action or by a script (useful for accessibility). https://developer.mozilla.org/docs/Web/Events/RadioStateChange
func RateChangeEvent ¶
RateChangeEvent provides DOM Event representation for the Event "RateChange".
The playback rate has changed. https://developer.mozilla.org/docs/Web/Events/ratechange
func ReadyStateChangeEvent ¶
ReadyStateChangeEvent provides DOM Event representation for the Event "ReadyStateChange".
The readyState attribute of a document has changed. https://developer.mozilla.org/docs/Web/Events/readystatechange
func ReceivedEvent ¶
ReceivedEvent provides DOM Event representation for the Event "received".
An SMS has been received. https://developer.mozilla.org/docs/Web/Events/received
func RepeatEventEvent ¶
RepeatEventEvent provides DOM Event representation for the Event "repeatEvent".
A SMIL animation element is repeated. https://developer.mozilla.org/docs/Web/Events/repeatEvent
func ResetEvent ¶
ResetEvent provides DOM Event representation for the Event "reset".
A form is reset. https://developer.mozilla.org/docs/Web/Events/reset
func ResizeEvent ¶
ResizeEvent provides DOM Event representation for the Event "resize".
The document view has been resized. https://developer.mozilla.org/docs/Web/Events/resize
func ResourceTimingBufferFullEvent ¶
ResourceTimingBufferFullEvent provides DOM Event representation for the Event "ResourceTimingBufferFull".
The browser's resource timing buffer is full. https://developer.mozilla.org/docs/Web/Events/resourcetimingbufferfull
func ResultEvent ¶
ResultEvent provides DOM Event representation for the Event "result".
The speech recognition service returns a result — a word or phrase has been positively recognized and this has been communicated back to the app. https://developer.mozilla.org/docs/Web/Events/result
func ResumeEvent ¶
ResumeEvent provides DOM Event representation for the Event "resume".
A paused utterance is resumed. https://developer.mozilla.org/docs/Web/Events/resume
func ResumingEvent ¶
ResumingEvent provides DOM Event representation for the Event "resuming".
A call is about to resume. https://developer.mozilla.org/docs/Web/Events/resuming
func SSTabClosingEvent ¶
SSTabClosingEvent provides DOM Event representation for the Event "SSTabClosing".
The session store will stop tracking this tab. https://developer.mozilla.org/docs/Web/Reference/Events/SSTabClosing
func SSTabRestoredEvent ¶
SSTabRestoredEvent provides DOM Event representation for the Event "SSTabRestored".
A tab has been restored. https://developer.mozilla.org/docs/Web/Reference/Events/SSTabRestored
func SSTabRestoringEvent ¶
SSTabRestoringEvent provides DOM Event representation for the Event "SSTabRestoring".
A tab is about to be restored. https://developer.mozilla.org/docs/Web/Reference/Events/SSTabRestoring
func SSWindowClosingEvent ¶
SSWindowClosingEvent provides DOM Event representation for the Event "SSWindowClosing".
The session store will stop tracking this window. https://developer.mozilla.org/docs/Web/Reference/Events/SSWindowClosing
func SSWindowStateBusyEvent ¶
SSWindowStateBusyEvent provides DOM Event representation for the Event "SSWindowStateBusy".
A window state has switched to "busy". https://developer.mozilla.org/docs/Web/Reference/Events/SSWindowStateBusy
func SSWindowStateReadyEvent ¶
SSWindowStateReadyEvent provides DOM Event representation for the Event "SSWindowStateReady".
A window state has switched to "ready". https://developer.mozilla.org/docs/Web/Reference/Events/SSWindowStateReady
func SVGAbortEvent ¶
SVGAbortEvent provides DOM Event representation for the Event "SVGAbort".
Page loading has been stopped before the SVG was loaded. https://developer.mozilla.org/docs/Web/Events/SVGAbort
func SVGErrorEvent ¶
SVGErrorEvent provides DOM Event representation for the Event "SVGError".
An error has occurred before the SVG was loaded. https://developer.mozilla.org/docs/Web/Events/SVGError
func SVGLoadEvent ¶
SVGLoadEvent provides DOM Event representation for the Event "SVGLoad".
An SVG document has been loaded and parsed. https://developer.mozilla.org/docs/Web/Events/SVGLoad
func SVGResizeEvent ¶
SVGResizeEvent provides DOM Event representation for the Event "SVGResize".
An SVG document is being resized. https://developer.mozilla.org/docs/Web/Events/SVGResize
func SVGScrollEvent ¶
SVGScrollEvent provides DOM Event representation for the Event "SVGScroll".
An SVG document is being scrolled. https://developer.mozilla.org/docs/Web/Events/SVGScroll
func SVGUnloadEvent ¶
SVGUnloadEvent provides DOM Event representation for the Event "SVGUnload".
An SVG document has been removed from a window or frame. https://developer.mozilla.org/docs/Web/Events/SVGUnload
func SVGZoomEvent ¶
SVGZoomEvent provides DOM Event representation for the Event "SVGZoom".
An SVG document is being zoomed. https://developer.mozilla.org/docs/Web/Events/SVGZoom
func ScrollEvent ¶
ScrollEvent provides DOM Event representation for the Event "scroll".
The document view or an element has been scrolled. https://developer.mozilla.org/docs/Web/Events/scroll
func SeekedEvent ¶
SeekedEvent provides DOM Event representation for the Event "seeked".
A seek operation completed. https://developer.mozilla.org/docs/Web/Events/seeked
func SeekingEvent ¶
SeekingEvent provides DOM Event representation for the Event "seeking".
A seek operation began. https://developer.mozilla.org/docs/Web/Events/seeking
func SelectEvent ¶
SelectEvent provides DOM Event representation for the Event "select".
Some text is being selected. https://developer.mozilla.org/docs/Web/Events/select
func SelectStartEvent ¶
SelectStartEvent provides DOM Event representation for the Event "SelectStart".
A selection just started. https://developer.mozilla.org/docs/Web/Events/selectstart
func SelectionChangeEvent ¶
SelectionChangeEvent provides DOM Event representation for the Event "SelectionChange".
The selection in the document has been changed. https://developer.mozilla.org/docs/Web/Events/selectionchange
func SentEvent ¶
SentEvent provides DOM Event representation for the Event "sent".
An SMS has been sent. https://developer.mozilla.org/docs/Web/Events/sent
func ShowEvent ¶
ShowEvent provides DOM Event representation for the Event "show".
A contextmenu event was fired on (or bubbled to) an element that has a contextmenu attribute https://developer.mozilla.org/docs/Web/Events/show
func SizemodechangeEvent ¶
SizemodechangeEvent provides DOM Event representation for the Event "sizemodechange".
Window has entered/left fullscreen mode, or has been minimized/unminimized. https://developer.mozilla.org/docs/Web/Reference/Events/sizemodechange
func SlotChangeEvent ¶
SlotChangeEvent provides DOM Event representation for the Event "SlotChange".
The node contents of a HTMLSlotElement (<slot>) have changed. https://developer.mozilla.org/docs/Web/Events/slotchange
func SmartcardInsertEvent ¶
SmartcardInsertEvent provides DOM Event representation for the Event "smartcard-insert".
A smartcard has been inserted. https://developer.mozilla.org/docs/Web/Events/smartcard-insert
func SmartcardRemoveEvent ¶
SmartcardRemoveEvent provides DOM Event representation for the Event "smartcard-remove".
A smartcard has been removed. https://developer.mozilla.org/docs/Web/Events/smartcard-remove
func SoundEndEvent ¶
SoundEndEvent provides DOM Event representation for the Event "SoundEnd".
Any sound — recognisable speech or not — has stopped being detected. https://developer.mozilla.org/docs/Web/Events/soundend
func SoundStartEvent ¶
SoundStartEvent provides DOM Event representation for the Event "SoundStart".
Any sound — recognisable speech or not — has been detected. https://developer.mozilla.org/docs/Web/Events/soundstart
func SpeechEndEvent ¶
SpeechEndEvent provides DOM Event representation for the Event "SpeechEnd".
Speech recognized by the speech recognition service has stopped being detected. https://developer.mozilla.org/docs/Web/Events/speechend
func SpeechStartEvent ¶
SpeechStartEvent provides DOM Event representation for the Event "SpeechStart".
Sound that is recognized by the speech recognition service as speech has been detected. https://developer.mozilla.org/docs/Web/Events/speechstart
func StalledEvent ¶
StalledEvent provides DOM Event representation for the Event "stalled".
The user agent is trying to fetch media data, but data is unexpectedly not forthcoming. https://developer.mozilla.org/docs/Web/Events/stalled
func StartEvent ¶
StartEvent provides DOM Event representation for the Event "start".
The utterance has begun to be spoken. https://developer.mozilla.org/docs/Web/Events/start_(SpeechSynthesis)
func StatechangeEvent ¶
StatechangeEvent provides DOM Event representation for the Event "statechange".
The state of a call has changed. https://developer.mozilla.org/docs/Web/Events/statechange
func StatuschangeEvent ¶
StatuschangeEvent provides DOM Event representation for the Event "statuschange".
The status of the Wifi connection changed. https://developer.mozilla.org/docs/Web/Events/statuschange
func StkcommandEvent ¶
StkcommandEvent provides DOM Event representation for the Event "stkcommand".
The STK Proactive Command is issued from ICC. https://developer.mozilla.org/docs/Web/Events/stkcommand
func StksessionendEvent ¶
StksessionendEvent provides DOM Event representation for the Event "stksessionend".
The STK Session is terminated by ICC. https://developer.mozilla.org/docs/Web/Events/stksessionend
func StorageEvent ¶
StorageEvent provides DOM Event representation for the Event "storage".
A storage area (localStorage or sessionStorage) has changed. https://developer.mozilla.org/docs/Web/Events/storage
func SubmitEvent ¶
SubmitEvent provides DOM Event representation for the Event "submit".
A form is submitted. https://developer.mozilla.org/docs/Web/Events/submit
func SuccessEvent ¶
SuccessEvent provides DOM Event representation for the Event "success".
A request successfully completed. https://developer.mozilla.org/docs/Web/Reference/Events/success_indexedDB
func SuspendEvent ¶
SuspendEvent provides DOM Event representation for the Event "suspend".
Media data loading has been suspended. https://developer.mozilla.org/docs/Web/Events/suspend
func TabCloseEvent ¶
TabCloseEvent provides DOM Event representation for the Event "TabClose".
A tab has been closed. https://developer.mozilla.org/docs/Web/Reference/Events/TabClose
func TabHideEvent ¶
TabHideEvent provides DOM Event representation for the Event "TabHide".
A tab has been hidden. https://developer.mozilla.org/docs/Web/Reference/Events/TabHide
func TabOpenEvent ¶
TabOpenEvent provides DOM Event representation for the Event "TabOpen".
A tab has been opened. https://developer.mozilla.org/docs/Web/Reference/Events/TabOpen
func TabPinnedEvent ¶
TabPinnedEvent provides DOM Event representation for the Event "TabPinned".
A tab has been pinned. https://developer.mozilla.org/docs/Web/Reference/Events/TabPinned
func TabSelectEvent ¶
TabSelectEvent provides DOM Event representation for the Event "TabSelect".
A tab has been selected. https://developer.mozilla.org/docs/Web/Reference/Events/TabSelect
func TabShowEvent ¶
TabShowEvent provides DOM Event representation for the Event "TabShow".
A tab has been shown. https://developer.mozilla.org/docs/Web/Reference/Events/TabShow
func TabUnpinnedEvent ¶
TabUnpinnedEvent provides DOM Event representation for the Event "TabUnpinned".
A tab has been unpinned. https://developer.mozilla.org/docs/Web/Reference/Events/TabUnpinned
func TimeUpdateEvent ¶
TimeUpdateEvent provides DOM Event representation for the Event "TimeUpdate".
The time indicated by the currentTime attribute has been updated. https://developer.mozilla.org/docs/Web/Events/timeupdate
func TimeoutEvent ¶
TimeoutEvent provides DOM Event representation for the Event "timeout".
(no documentation) https://developer.mozilla.org/docs/Web/Events/timeout
func TouchCancelEvent ¶
TouchCancelEvent provides DOM Event representation for the Event "TouchCancel".
A touch point has been disrupted in an implementation-specific manner (too many touch points, for example). https://developer.mozilla.org/docs/Web/Events/touchcancel
func TouchEndEvent ¶
TouchEndEvent provides DOM Event representation for the Event "TouchEnd".
A touch point is removed from the touch surface. https://developer.mozilla.org/docs/Web/Events/touchend
func TouchEnterEvent ¶
TouchEnterEvent provides DOM Event representation for the Event "TouchEnter".
(no documentation) https://developer.mozilla.org/docs/Web/Events/touchenter
func TouchLeaveEvent ¶
TouchLeaveEvent provides DOM Event representation for the Event "TouchLeave".
(no documentation) https://developer.mozilla.org/docs/Web/Events/touchleave
func TouchMoveEvent ¶
TouchMoveEvent provides DOM Event representation for the Event "TouchMove".
A touch point is moved along the touch surface. https://developer.mozilla.org/docs/Web/Events/touchmove
func TouchStartEvent ¶
TouchStartEvent provides DOM Event representation for the Event "TouchStart".
A touch point is placed on the touch surface. https://developer.mozilla.org/docs/Web/Events/touchstart
func TransitionEndEvent ¶
TransitionEndEvent provides DOM Event representation for the Event "TransitionEnd".
A CSS transition has completed. https://developer.mozilla.org/docs/Web/Events/transitionend
func TransitioncancelEvent ¶
TransitioncancelEvent provides DOM Event representation for the Event "transitioncancel".
(no documentation) https://developer.mozilla.org/docs/Web/Events/transitioncancel
func TransitionrunEvent ¶
TransitionrunEvent provides DOM Event representation for the Event "transitionrun".
(no documentation) https://developer.mozilla.org/docs/Web/Events/transitionrun
func TransitionstartEvent ¶
TransitionstartEvent provides DOM Event representation for the Event "transitionstart".
(no documentation) https://developer.mozilla.org/docs/Web/Events/transitionstart
func UnderflowEvent ¶
UnderflowEvent provides DOM Event representation for the Event "underflow".
An element is no longer overflowed by its content (only works for elements styled with overflow != visible). https://developer.mozilla.org/docs/Web/Events/underflow
func UnloadEvent ¶
UnloadEvent provides DOM Event representation for the Event "unload".
The document or a dependent resource is being unloaded. https://developer.mozilla.org/docs/Web/Events/unload
func UpgradeNeededEvent ¶
UpgradeNeededEvent provides DOM Event representation for the Event "UpgradeNeeded".
An attempt was made to open a database with a version number higher than its current version. A versionchange transaction has been created. https://developer.mozilla.org/docs/Web/Reference/Events/upgradeneeded_indexedDB
func UserProximityEvent ¶
UserProximityEvent provides DOM Event representation for the Event "UserProximity".
Fresh data is available from a proximity sensor (indicates whether the nearby object is near the device or not). https://developer.mozilla.org/docs/Web/Events/userproximity
func UssdreceivedEvent ¶
UssdreceivedEvent provides DOM Event representation for the Event "ussdreceived".
A new USSD message is received https://developer.mozilla.org/docs/Web/Events/ussdreceived
func VRDisplayPresentChangeEvent ¶
VRDisplayPresentChangeEvent provides DOM Event representation for the Event "VRDisplayPresentChange".
(no documentation) https://developer.mozilla.org/docs/Web/Events/vrdisplaypresentchange
func ValueChangeEvent ¶
ValueChangeEvent provides DOM Event representation for the Event "ValueChange".
The value of an element has changed (a progress bar, for example; useful for accessibility). https://developer.mozilla.org/docs/Web/Events/ValueChange
func VersionChangeEvent ¶
VersionChangeEvent provides DOM Event representation for the Event "VersionChange".
A versionchange transaction completed. https://developer.mozilla.org/docs/Web/Reference/Events/versionchange_indexedDB
func VisibilityChangeEvent ¶
VisibilityChangeEvent provides DOM Event representation for the Event "VisibilityChange".
The content of a tab has become visible or has been hidden. https://developer.mozilla.org/docs/Web/Events/visibilitychange
func VoicechangeEvent ¶
VoicechangeEvent provides DOM Event representation for the Event "voicechange".
The MozMobileConnection.voice object changes values. https://developer.mozilla.org/docs/Web/Events/voicechange
func VoicesChangedEvent ¶
VoicesChangedEvent provides DOM Event representation for the Event "VoicesChanged".
The list of SpeechSynthesisVoice objects that would be returned by the SpeechSynthesis.getVoices() method has changed (when the voiceschanged event fires.) https://developer.mozilla.org/docs/Web/Events/voiceschanged
func VolumeChangeEvent ¶
VolumeChangeEvent provides DOM Event representation for the Event "VolumeChange".
The volume has changed. https://developer.mozilla.org/docs/Web/Events/volumechange
func VrdisplayactivateEvent ¶
VrdisplayactivateEvent provides DOM Event representation for the Event "vrdisplayactivate".
(no documentation) https://developer.mozilla.org/docs/Web/Events/vrdisplayactivate
func VrdisplayblurEvent ¶
VrdisplayblurEvent provides DOM Event representation for the Event "vrdisplayblur".
(no documentation) https://developer.mozilla.org/docs/Web/Events/vrdisplayblur
func VrdisplayconnectEvent ¶
VrdisplayconnectEvent provides DOM Event representation for the Event "vrdisplayconnect".
(no documentation) https://developer.mozilla.org/docs/Web/Events/vrdisplayconnect
func VrdisplaydeactivateEvent ¶
VrdisplaydeactivateEvent provides DOM Event representation for the Event "vrdisplaydeactivate".
(no documentation) https://developer.mozilla.org/docs/Web/Events/vrdisplaydeactivate
func VrdisplaydisconnectEvent ¶
VrdisplaydisconnectEvent provides DOM Event representation for the Event "vrdisplaydisconnect".
(no documentation) https://developer.mozilla.org/docs/Web/Events/vrdisplaydisconnect
func VrdisplayfocusEvent ¶
VrdisplayfocusEvent provides DOM Event representation for the Event "vrdisplayfocus".
(no documentation) https://developer.mozilla.org/docs/Web/Events/vrdisplayfocus
func WaitingEvent ¶
WaitingEvent provides DOM Event representation for the Event "waiting".
Playback has stopped because of a temporary lack of data. https://developer.mozilla.org/docs/Web/Events/waiting
func WheelEvent ¶
WheelEvent provides DOM Event representation for the Event "wheel".
A wheel button of a pointing device is rotated in any direction. https://developer.mozilla.org/docs/Web/Events/wheel
type JSONNode ¶
type JSONNode struct { Type int `json:"type"` Removed bool `json:"removed"` Changed bool `json:"changed"` AttrChanged bool `json:"attr_changed"` Id string `json:"id"` Tid string `json:"tid"` AtId string `json:"atid"` Ref string `json:"ref"` TypeName string `json:"type_name"` Name string `json:"name"` Content string `json:"content"` Namespace string `json:"namespace"` Attrs []JSONAttr `json:"attrs"` Events []JSONEvent `json:"events"` Children []JSONNode `json:"children"` }
func (*JSONNode) EncodeObject ¶
func (n *JSONNode) EncodeObject(encoder npkg.ObjectEncoder)
EncodeObject implements the npkg.EncodableObject interface.
type Matchable ¶
Matchable requires implementers to provide methods for comparing against a giving node instance.
type Mounter ¶
type Mounter interface {
Mount(parent *Node)
}
Mounter defines an interface which exposes a method to mount a provided implementer into a provided Node instance. Basically the provided node is the parent to be mounted into.
type Node ¶
type Node struct { Themes *ThemeDirective Attrs AttrList Events *EventHashList // contains filtered or unexported fields }
Node defines a concrete type implementing a combined linked-list with root, next and previous siblings using a underline growing array as the basis.
func Carrier ¶
Carrier returns the Carrier node type which has no parent and should be the start position of a set nodes which will be applied to the parent to be mounted to.
func Document ¶
Document returns the document node type which has no parent and should be the start position of all nodes.
func Element ¶
Element returns a element node type which can be added into a parent or use as a base for other nodes.
func HTMLAbbreviation ¶
HTMLAbbreviation provides Node representation for the element "abbr" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/abbr
func HTMLAcronym ¶ added in v0.1.8
HTMLAcronym provides Node representation for the element "acronym" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/acronym
func HTMLAddress ¶
HTMLAddress provides Node representation for the element "address" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/address
func HTMLAnchor ¶
HTMLAnchor provides Node representation for the element "a" in XHTML/HTML DOM
func HTMLApplet ¶ added in v0.1.8
HTMLApplet provides Node representation for the element "applet" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/applet
func HTMLArea ¶
HTMLArea provides Node representation for the element "area" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/area
func HTMLArticle ¶
HTMLArticle provides Node representation for the element "article" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/article
func HTMLAside ¶
HTMLAside provides Node representation for the element "aside" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/aside
func HTMLAudio ¶
HTMLAudio provides Node representation for the element "audio" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/audio
func HTMLBase ¶
HTMLBase provides Node representation for the element "base" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/base
func HTMLBasefont ¶ added in v0.1.8
HTMLBasefont provides Node representation for the element "basefont" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/basefont
func HTMLBgsound ¶ added in v0.1.8
HTMLBgsound provides Node representation for the element "bgsound" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/bgsound
func HTMLBidirectionalIsolation ¶
HTMLBidirectionalIsolation provides Node representation for the element "bdi" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/bdi
func HTMLBidirectionalOverride ¶
HTMLBidirectionalOverride provides Node representation for the element "bdo" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/bdo
func HTMLBig ¶ added in v0.1.8
HTMLBig provides Node representation for the element "big" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/big
func HTMLBlink ¶ added in v0.1.8
HTMLBlink provides Node representation for the element "blink" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/blink
func HTMLBlockQuote ¶
HTMLBlockQuote provides Node representation for the element "blockquote" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/blockquote
func HTMLBody ¶ added in v0.1.8
HTMLBody provides Node representation for the element "body" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/body
func HTMLBreak ¶
HTMLBreak provides Node representation for the element "br" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/br
func HTMLButton ¶
HTMLButton provides Node representation for the element "button" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button
func HTMLCanvas ¶
HTMLCanvas provides Node representation for the element "canvas" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/canvas
func HTMLCaption ¶
HTMLCaption provides Node representation for the element "caption" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/caption
func HTMLCenter ¶ added in v0.1.8
HTMLCenter provides Node representation for the element "center" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/center
func HTMLCitation ¶
HTMLCitation provides Node representation for the element "cite" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/cite
func HTMLCode ¶
HTMLCode provides Node representation for the element "code" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/code
func HTMLColumn ¶
HTMLColumn provides Node representation for the element "col" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col
func HTMLColumnGroup ¶
HTMLColumnGroup provides Node representation for the element "colgroup" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/colgroup
func HTMLCommand ¶ added in v0.1.8
HTMLCommand provides Node representation for the element "command" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/command
func HTMLContent ¶ added in v0.1.8
HTMLContent provides Node representation for the element "content" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/content
func HTMLData ¶
HTMLData provides Node representation for the element "data" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/data
func HTMLDataList ¶
HTMLDataList provides Node representation for the element "datalist" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/datalist
func HTMLDefinition ¶
HTMLDefinition provides Node representation for the element "dfn" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dfn
func HTMLDefinitionTerm ¶
HTMLDefinitionTerm provides Node representation for the element "dt" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dt
func HTMLDeletedText ¶
HTMLDeletedText provides Node representation for the element "del" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/del
func HTMLDescription ¶
HTMLDescription provides Node representation for the element "dd" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dd
func HTMLDescriptionList ¶
HTMLDescriptionList provides Node representation for the element "dl" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dl
func HTMLDetails ¶
HTMLDetails provides Node representation for the element "details" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/details
func HTMLDialog ¶
HTMLDialog provides Node representation for the element "dialog" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dialog
func HTMLDir ¶ added in v0.1.8
HTMLDir provides Node representation for the element "dir" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dir
func HTMLDiv ¶
HTMLDiv provides Node representation for the element "div" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/div
func HTMLDoc ¶
HTMLDoc returns the document node type which has no parent and should be the start position of all nodes.
func HTMLElement ¶ added in v0.1.8
HTMLElement provides Node representation for the element "element" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/element
func HTMLEmbed ¶
HTMLEmbed provides Node representation for the element "embed" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/embed
func HTMLEmphasis ¶
HTMLEmphasis provides Node representation for the element "em" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/em
func HTMLFieldSet ¶
HTMLFieldSet provides Node representation for the element "fieldset" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/fieldset
func HTMLFigure ¶
HTMLFigure provides Node representation for the element "figure" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/figure
func HTMLFigureCaption ¶
HTMLFigureCaption provides Node representation for the element "figcaption" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/figcaption
func HTMLFont ¶ added in v0.1.8
HTMLFont provides Node representation for the element "font" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/font
func HTMLFooter ¶
HTMLFooter provides Node representation for the element "footer" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/footer
func HTMLForm ¶
HTMLForm provides Node representation for the element "form" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form
func HTMLFrame ¶ added in v0.1.8
HTMLFrame provides Node representation for the element "frame" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/frame
func HTMLFrameset ¶ added in v0.1.8
HTMLFrameset provides Node representation for the element "frameset" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/frameset
func HTMLHead ¶ added in v0.1.8
HTMLHead provides Node representation for the element "head" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/head
func HTMLHeader ¶
HTMLHeader provides Node representation for the element "header" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/header
func HTMLHeader1 ¶
HTMLHeader1 provides Node representation for the element "h1" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/h1
func HTMLHeader2 ¶ added in v0.1.8
HTMLHeader2 provides Node representation for the element "h2" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/h2
func HTMLHeader3 ¶ added in v0.1.8
HTMLHeader3 provides Node representation for the element "h3" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/h3
func HTMLHeader4 ¶ added in v0.1.8
HTMLHeader4 provides Node representation for the element "h4" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/h4
func HTMLHeader5 ¶ added in v0.1.8
HTMLHeader5 provides Node representation for the element "h5" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/h5
func HTMLHeader6 ¶ added in v0.1.8
HTMLHeader6 provides Node representation for the element "h6" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/h6
func HTMLHeadingsGroup ¶
HTMLHeadingsGroup provides Node representation for the element "hgroup" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/hgroup
func HTMLHorizontalRule ¶
HTMLHorizontalRule provides Node representation for the element "hr" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/hr
func HTMLImage ¶
HTMLImage provides Node representation for the element "img" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img
func HTMLInlineFrame ¶
HTMLInlineFrame provides Node representation for the element "iframe" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe
func HTMLInput ¶
HTMLInput provides Node representation for the element "input" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input
func HTMLInsertedText ¶
HTMLInsertedText provides Node representation for the element "ins" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ins
func HTMLIsindex ¶ added in v0.1.8
HTMLIsindex provides Node representation for the element "isindex" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/isindex
func HTMLItalic ¶
HTMLItalic provides Node representation for the element "i" in XHTML/HTML DOM
func HTMLKeyGen ¶ added in v0.1.8
HTMLKeyGen provides Node representation for the element "keygen" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/keygen
func HTMLKeyboardInput ¶
HTMLKeyboardInput provides Node representation for the element "kbd" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/kbd
func HTMLLabel ¶
HTMLLabel provides Node representation for the element "label" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/label
func HTMLLegend ¶
HTMLLegend provides Node representation for the element "legend" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/legend
func HTMLLink ¶
HTMLLink provides Node representation for the element "link" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link
func HTMLListItem ¶
HTMLListItem provides Node representation for the element "li" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/li
func HTMLListing ¶ added in v0.1.8
HTMLListing provides Node representation for the element "listing" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/listing
func HTMLMain ¶
HTMLMain provides Node representation for the element "main" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/main
func HTMLMap ¶
HTMLMap provides Node representation for the element "map" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/map
func HTMLMark ¶
HTMLMark provides Node representation for the element "mark" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/mark
func HTMLMarquee ¶ added in v0.1.8
HTMLMarquee provides Node representation for the element "marquee" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/marquee
func HTMLMenu ¶
HTMLMenu provides Node representation for the element "menu" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/menu
func HTMLMenuItem ¶ added in v0.1.8
HTMLMenuItem provides Node representation for the element "menuitem" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/menuitem
func HTMLMeta ¶
HTMLMeta provides Node representation for the element "meta" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta
func HTMLMeter ¶
HTMLMeter provides Node representation for the element "meter" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meter
func HTMLMulticol ¶ added in v0.1.8
HTMLMulticol provides Node representation for the element "multicol" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/multicol
func HTMLNavigation ¶
HTMLNavigation provides Node representation for the element "nav" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/nav
func HTMLNextid ¶ added in v0.1.8
HTMLNextid provides Node representation for the element "nextid" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/nextid
func HTMLNoFrames ¶ added in v0.1.8
HTMLNoFrames provides Node representation for the element "noframes" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/noframes
func HTMLNoScript ¶
HTMLNoScript provides Node representation for the element "noscript" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/noscript
func HTMLNobr ¶ added in v0.1.8
HTMLNobr provides Node representation for the element "nobr" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/nobr
func HTMLNoembed ¶ added in v0.1.8
HTMLNoembed provides Node representation for the element "noembed" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/noembed
func HTMLObject ¶
HTMLObject provides Node representation for the element "object" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/object
func HTMLOption ¶
HTMLOption provides Node representation for the element "option" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/option
func HTMLOptionsGroup ¶
HTMLOptionsGroup provides Node representation for the element "optgroup" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/optgroup
func HTMLOrderedList ¶
HTMLOrderedList provides Node representation for the element "ol" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ol
func HTMLOutput ¶
HTMLOutput provides Node representation for the element "output" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/output
func HTMLParagraph ¶
HTMLParagraph provides Node representation for the element "p" in XHTML/HTML DOM
func HTMLParameter ¶
HTMLParameter provides Node representation for the element "param" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/param
func HTMLPicture ¶
HTMLPicture provides Node representation for the element "picture" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/picture
func HTMLPlaintext ¶ added in v0.1.8
HTMLPlaintext provides Node representation for the element "plaintext" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/plaintext
func HTMLPreformatted ¶
HTMLPreformatted provides Node representation for the element "pre" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/pre
func HTMLProgress ¶
HTMLProgress provides Node representation for the element "progress" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/progress
func HTMLRb ¶
HTMLRb provides Node representation for the element "rb" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/rb
func HTMLRtc ¶
HTMLRtc provides Node representation for the element "rtc" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/rtc
func HTMLRuby ¶
HTMLRuby provides Node representation for the element "ruby" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ruby
func HTMLRubyParenthesis ¶
HTMLRubyParenthesis provides Node representation for the element "rp" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/rp
func HTMLRubyText ¶
HTMLRubyText provides Node representation for the element "rt" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/rt
func HTMLSample ¶
HTMLSample provides Node representation for the element "samp" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/samp
func HTMLScript ¶
HTMLScript provides Node representation for the element "script" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script
func HTMLScripts ¶ added in v0.1.8
HTMLScripts provides Node representation for the element "scripts" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script
func HTMLSection ¶
HTMLSection provides Node representation for the element "section" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/section
func HTMLSelect ¶
HTMLSelect provides Node representation for the element "select" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select
func HTMLShadow ¶ added in v0.1.8
HTMLShadow provides Node representation for the element "shadow" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/shadow
func HTMLSlot ¶
HTMLSlot provides Node representation for the element "slot" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/slot
func HTMLSmall ¶
HTMLSmall provides Node representation for the element "small" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/small
func HTMLSource ¶
HTMLSource provides Node representation for the element "source" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/source
func HTMLSpacer ¶ added in v0.1.8
HTMLSpacer provides Node representation for the element "spacer" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/spacer
func HTMLSpan ¶
HTMLSpan provides Node representation for the element "span" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/span
func HTMLStrike ¶ added in v0.1.8
HTMLStrike provides Node representation for the element "strike" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/strike
func HTMLStrikethrough ¶
HTMLStrikethrough provides Node representation for the element "s" in XHTML/HTML DOM
func HTMLStrong ¶
HTMLStrong provides Node representation for the element "strong" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/strong
func HTMLStyle ¶
HTMLStyle provides Node representation for the element "style" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/style
func HTMLSubscript ¶
HTMLSubscript provides Node representation for the element "sub" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/sub
func HTMLSummary ¶
HTMLSummary provides Node representation for the element "summary" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/summary
func HTMLSuperscript ¶
HTMLSuperscript provides Node representation for the element "sup" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/sup
func HTMLTable ¶
HTMLTable provides Node representation for the element "table" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/table
func HTMLTableBody ¶
HTMLTableBody provides Node representation for the element "tbody" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tbody
func HTMLTableData ¶
HTMLTableData provides Node representation for the element "td" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td
func HTMLTableFoot ¶
HTMLTableFoot provides Node representation for the element "tfoot" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tfoot
func HTMLTableHead ¶
HTMLTableHead provides Node representation for the element "thead" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/thead
func HTMLTableHeader ¶
HTMLTableHeader provides Node representation for the element "th" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/th
func HTMLTableRow ¶
HTMLTableRow provides Node representation for the element "tr" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tr
func HTMLTemplate ¶
HTMLTemplate provides Node representation for the element "template" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/template
func HTMLTextArea ¶
HTMLTextArea provides Node representation for the element "textarea" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea
func HTMLTime ¶
HTMLTime provides Node representation for the element "time" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/time
func HTMLTitle ¶
HTMLTitle provides Node representation for the element "title" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/title
func HTMLTrack ¶
HTMLTrack provides Node representation for the element "track" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/track
func HTMLTt ¶ added in v0.1.8
HTMLTt provides Node representation for the element "tt" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tt
func HTMLUnderline ¶
HTMLUnderline provides Node representation for the element "u" in XHTML/HTML DOM
func HTMLUnorderedList ¶
HTMLUnorderedList provides Node representation for the element "ul" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ul
func HTMLVariable ¶
HTMLVariable provides Node representation for the element "var" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/var
func HTMLVideo ¶
HTMLVideo provides Node representation for the element "video" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video
func HTMLWordBreakOpportunity ¶
HTMLWordBreakOpportunity provides Node representation for the element "wbr" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/wbr
func HTMLXmp ¶ added in v0.1.8
HTMLXmp provides Node representation for the element "xmp" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/xmp
func Html ¶ added in v0.1.8
Html provides Node representation for the element "html" in XHTML/HTML DOM
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/html
func NewNode ¶
NewNode returns a new Node instance with the giving Node as underline parent pointer. It uses the provided `tagName` as name of node (i.e div or section) and the provided `idAttr` as id of giving node (i.e <div id={idAttr}>). This must be unique across a node child list.
To important things to note in creating a node:
1. The tagName must be provided always as it tells the rendering system what the node represent.
2. The idAttr must both be provided an unique across all nodes, as it is the unique identifier to be used for referencing, replacement and swaps by the rendering system.
func ParseAndFirst ¶
ParseAndFirst expects the markup provided to only have one root element which will be returned.
func ParseTemplate ¶
ParseTemplate parses the provided string has a template which is processed with the provided binding.
func ParseTree ¶
ParseTree takes a html string and returns a *Node representing giving markup.
It returns a Document node always, hence to gain access to the nodes described by markup, use Node.EachChild.
func Replicate ¶
Replicate returns the Replicate node type which has no parent and should be the start position of a set nodes which will be applied to the parent to be mounted to.
func SVGAnimate ¶
SVGAnimate provides Node representation for the element "animate" in XML/SVG DOM
https://developer.mozilla.org/en-US/docs/Web/SVG/Element/animate
func SVGAnimateMotion ¶
SVGAnimateMotion provides Node representation for the element "animateMotion" in XML/SVG DOM
https://developer.mozilla.org/en-US/docs/Web/SVG/Element/animateMotion
func SVGAnimateTransform ¶
SVGAnimateTransform provides Node representation for the element "animateTransform" in XML/SVG DOM
https://developer.mozilla.org/en-US/docs/Web/SVG/Element/animateTransform
func SVGCircle ¶
SVGCircle provides Node representation for the element "circle" in XML/SVG DOM
https://developer.mozilla.org/en-US/docs/Web/SVG/Element/circle
func SVGClipPath ¶
SVGClipPath provides Node representation for the element "clipPath" in XML/SVG DOM
https://developer.mozilla.org/en-US/docs/Web/SVG/Element/clipPath
func SVGColorProfile ¶
SVGColorProfile provides Node representation for the element "color-profile" in XML/SVG DOM
https://developer.mozilla.org/en-US/docs/Web/SVG/Element/color-profile
func SVGDefs ¶
SVGDefs provides Node representation for the element "defs" in XML/SVG DOM
https://developer.mozilla.org/en-US/docs/Web/SVG/Element/defs
func SVGDesc ¶
SVGDesc provides Node representation for the element "desc" in XML/SVG DOM
https://developer.mozilla.org/en-US/docs/Web/SVG/Element/desc
func SVGDiscard ¶
SVGDiscard provides Node representation for the element "discard" in XML/SVG DOM
https://developer.mozilla.org/en-US/docs/Web/SVG/Element/discard
func SVGEllipse ¶
SVGEllipse provides Node representation for the element "ellipse" in XML/SVG DOM
https://developer.mozilla.org/en-US/docs/Web/SVG/Element/ellipse
func SVGFeBlend ¶
SVGFeBlend provides Node representation for the element "feBlend" in XML/SVG DOM
https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feBlend
func SVGFeColorMatrix ¶
SVGFeColorMatrix provides Node representation for the element "feColorMatrix" in XML/SVG DOM
https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feColorMatrix
func SVGFeComponentTransfer ¶
SVGFeComponentTransfer provides Node representation for the element "feComponentTransfer" in XML/SVG DOM
https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feComponentTransfer
func SVGFeComposite ¶
SVGFeComposite provides Node representation for the element "feComposite" in XML/SVG DOM
https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feComposite
func SVGFeConvolveMatrix ¶
SVGFeConvolveMatrix provides Node representation for the element "feConvolveMatrix" in XML/SVG DOM
https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feConvolveMatrix
func SVGFeDiffuseLighting ¶
SVGFeDiffuseLighting provides Node representation for the element "feDiffuseLighting" in XML/SVG DOM
https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feDiffuseLighting
func SVGFeDisplacementMap ¶
SVGFeDisplacementMap provides Node representation for the element "feDisplacementMap" in XML/SVG DOM
https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feDisplacementMap
func SVGFeDistantLight ¶
SVGFeDistantLight provides Node representation for the element "feDistantLight" in XML/SVG DOM
https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feDistantLight
func SVGFeDropShadow ¶
SVGFeDropShadow provides Node representation for the element "feDropShadow" in XML/SVG DOM
https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feDropShadow
func SVGFeFlood ¶
SVGFeFlood provides Node representation for the element "feFlood" in XML/SVG DOM
https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feFlood
func SVGFeFuncA ¶
SVGFeFuncA provides Node representation for the element "feFuncA" in XML/SVG DOM
https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feFuncA
func SVGFeFuncB ¶
SVGFeFuncB provides Node representation for the element "feFuncB" in XML/SVG DOM
https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feFuncB
func SVGFeFuncG ¶
SVGFeFuncG provides Node representation for the element "feFuncG" in XML/SVG DOM
https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feFuncG
func SVGFeFuncR ¶
SVGFeFuncR provides Node representation for the element "feFuncR" in XML/SVG DOM
https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feFuncR
func SVGFeGaussianBlur ¶
SVGFeGaussianBlur provides Node representation for the element "feGaussianBlur" in XML/SVG DOM
https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feGaussianBlur
func SVGFeImage ¶
SVGFeImage provides Node representation for the element "feImage" in XML/SVG DOM
https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feImage
func SVGFeMerge ¶
SVGFeMerge provides Node representation for the element "feMerge" in XML/SVG DOM
https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feMerge
func SVGFeMergeNode ¶
SVGFeMergeNode provides Node representation for the element "feMergeNode" in XML/SVG DOM
https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feMergeNode
func SVGFeMorphology ¶
SVGFeMorphology provides Node representation for the element "feMorphology" in XML/SVG DOM
https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feMorphology
func SVGFeOffset ¶
SVGFeOffset provides Node representation for the element "feOffset" in XML/SVG DOM
https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feOffset
func SVGFePointLight ¶
SVGFePointLight provides Node representation for the element "fePointLight" in XML/SVG DOM
https://developer.mozilla.org/en-US/docs/Web/SVG/Element/fePointLight
func SVGFeSpecularLighting ¶
SVGFeSpecularLighting provides Node representation for the element "feSpecularLighting" in XML/SVG DOM
https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feSpecularLighting
func SVGFeSpotLight ¶
SVGFeSpotLight provides Node representation for the element "feSpotLight" in XML/SVG DOM
https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feSpotLight
func SVGFeTile ¶
SVGFeTile provides Node representation for the element "feTile" in XML/SVG DOM
https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feTile
func SVGFeTurbulence ¶
SVGFeTurbulence provides Node representation for the element "feTurbulence" in XML/SVG DOM
https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feTurbulence
func SVGFilter ¶
SVGFilter provides Node representation for the element "filter" in XML/SVG DOM
https://developer.mozilla.org/en-US/docs/Web/SVG/Element/filter
func SVGForeignObject ¶
SVGForeignObject provides Node representation for the element "foreignObject" in XML/SVG DOM
https://developer.mozilla.org/en-US/docs/Web/SVG/Element/foreignObject
func SVGHatch ¶
SVGHatch provides Node representation for the element "hatch" in XML/SVG DOM
https://developer.mozilla.org/en-US/docs/Web/SVG/Element/hatch
func SVGHatchpath ¶
SVGHatchpath provides Node representation for the element "hatchpath" in XML/SVG DOM
https://developer.mozilla.org/en-US/docs/Web/SVG/Element/hatchpath
func SVGImage ¶
SVGImage provides Node representation for the element "image" in XML/SVG DOM
https://developer.mozilla.org/en-US/docs/Web/SVG/Element/image
func SVGLine ¶
SVGLine provides Node representation for the element "line" in XML/SVG DOM
https://developer.mozilla.org/en-US/docs/Web/SVG/Element/line
func SVGLinearGradient ¶
SVGLinearGradient provides Node representation for the element "linearGradient" in XML/SVG DOM
https://developer.mozilla.org/en-US/docs/Web/SVG/Element/linearGradient
func SVGMarker ¶
SVGMarker provides Node representation for the element "marker" in XML/SVG DOM
https://developer.mozilla.org/en-US/docs/Web/SVG/Element/marker
func SVGMask ¶
SVGMask provides Node representation for the element "mask" in XML/SVG DOM
https://developer.mozilla.org/en-US/docs/Web/SVG/Element/mask
func SVGMesh ¶
SVGMesh provides Node representation for the element "mesh" in XML/SVG DOM
https://developer.mozilla.org/en-US/docs/Web/SVG/Element/mesh
func SVGMeshgradient ¶
SVGMeshgradient provides Node representation for the element "meshgradient" in XML/SVG DOM
https://developer.mozilla.org/en-US/docs/Web/SVG/Element/meshgradient
func SVGMeshpatch ¶
SVGMeshpatch provides Node representation for the element "meshpatch" in XML/SVG DOM
https://developer.mozilla.org/en-US/docs/Web/SVG/Element/meshpatch
func SVGMeshrow ¶
SVGMeshrow provides Node representation for the element "meshrow" in XML/SVG DOM
https://developer.mozilla.org/en-US/docs/Web/SVG/Element/meshrow
func SVGMetadata ¶
SVGMetadata provides Node representation for the element "metadata" in XML/SVG DOM
https://developer.mozilla.org/en-US/docs/Web/SVG/Element/metadata
func SVGMpath ¶
SVGMpath provides Node representation for the element "mpath" in XML/SVG DOM
https://developer.mozilla.org/en-US/docs/Web/SVG/Element/mpath
func SVGPath ¶
SVGPath provides Node representation for the element "path" in XML/SVG DOM
https://developer.mozilla.org/en-US/docs/Web/SVG/Element/path
func SVGPattern ¶
SVGPattern provides Node representation for the element "pattern" in XML/SVG DOM
https://developer.mozilla.org/en-US/docs/Web/SVG/Element/pattern
func SVGPolygon ¶
SVGPolygon provides Node representation for the element "polygon" in XML/SVG DOM
https://developer.mozilla.org/en-US/docs/Web/SVG/Element/polygon
func SVGPolyline ¶
SVGPolyline provides Node representation for the element "polyline" in XML/SVG DOM
https://developer.mozilla.org/en-US/docs/Web/SVG/Element/polyline
func SVGRadialGradient ¶
SVGRadialGradient provides Node representation for the element "radialGradient" in XML/SVG DOM
https://developer.mozilla.org/en-US/docs/Web/SVG/Element/radialGradient
func SVGRect ¶
SVGRect provides Node representation for the element "rect" in XML/SVG DOM
https://developer.mozilla.org/en-US/docs/Web/SVG/Element/rect
func SVGScript ¶
SVGScript provides Node representation for the element "script" in XML/SVG DOM
https://developer.mozilla.org/en-US/docs/Web/SVG/Element/script
func SVGSet ¶
SVGSet provides Node representation for the element "set" in XML/SVG DOM
https://developer.mozilla.org/en-US/docs/Web/SVG/Element/set
func SVGSolidcolor ¶
SVGSolidcolor provides Node representation for the element "solidcolor" in XML/SVG DOM
https://developer.mozilla.org/en-US/docs/Web/SVG/Element/solidcolor
func SVGStop ¶
SVGStop provides Node representation for the element "stop" in XML/SVG DOM
https://developer.mozilla.org/en-US/docs/Web/SVG/Element/stop
func SVGStyle ¶
SVGStyle provides Node representation for the element "style" in XML/SVG DOM
https://developer.mozilla.org/en-US/docs/Web/SVG/Element/style
func SVGSwitch ¶
SVGSwitch provides Node representation for the element "switch" in XML/SVG DOM
https://developer.mozilla.org/en-US/docs/Web/SVG/Element/switch
func SVGSymbol ¶
SVGSymbol provides Node representation for the element "symbol" in XML/SVG DOM
https://developer.mozilla.org/en-US/docs/Web/SVG/Element/symbol
func SVGText ¶
SVGText provides Node representation for the element "text" in XML/SVG DOM
https://developer.mozilla.org/en-US/docs/Web/SVG/Element/text
func SVGTextPath ¶
SVGTextPath provides Node representation for the element "textPath" in XML/SVG DOM
https://developer.mozilla.org/en-US/docs/Web/SVG/Element/textPath
func SVGTitle ¶
SVGTitle provides Node representation for the element "title" in XML/SVG DOM
https://developer.mozilla.org/en-US/docs/Web/SVG/Element/title
func SVGTspan ¶
SVGTspan provides Node representation for the element "tspan" in XML/SVG DOM
https://developer.mozilla.org/en-US/docs/Web/SVG/Element/tspan
func SVGUnknown ¶
SVGUnknown provides Node representation for the element "unknown" in XML/SVG DOM
https://developer.mozilla.org/en-US/docs/Web/SVG/Element/unknown
func SVGUse ¶
SVGUse provides Node representation for the element "use" in XML/SVG DOM
https://developer.mozilla.org/en-US/docs/Web/SVG/Element/use
func SVGView ¶
SVGView provides Node representation for the element "view" in XML/SVG DOM
https://developer.mozilla.org/en-US/docs/Web/SVG/Element/view
func Svg ¶
Svg provides Node representation for the element "svg" in XML/SVG DOM
https://developer.mozilla.org/en-US/docs/Web/SVG/Element/svg
func TextType ¶
TextType returns a element node type which can be added into a parent or use as a base for other nodes.
func (*Node) AppendChild ¶
AppendChild adds new child into end of the list.
Comment and Text nodes can't have children.
Operation will fail if the node.Err() has an error.
func (*Node) ChildCount ¶
ChildCount returns the current total count of kids.
func (*Node) Clone ¶
Clone returns a clone of a giving node depending on the deepClone flag where if false then only the node and it's properties are cloned without the children, else all children are also cloned.
func (*Node) FindRefNode ¶
FindRefNode walks through provided ref node paths till the last node is found.
func (*Node) FirstChild ¶
FirstChild returns first child of giving node if any, else returns an error.
func (*Node) FromJSONNode ¶
func (*Node) Get ¶
Get returns a giving Node at giving index, if no removals have being done before this call, then insertion order of children nodes are maintained, else before using this method ensure to call Node.Balance() to restore insertion order.
func (*Node) GetChangeStream ¶
func (*Node) Match ¶
Match returns true/false if provided node matches this node exactly in type, name and attributes.
func (*Node) Mount ¶
Mount implements the Mounter interface where it mounts the provided node as a child node of it self.
Operation will fail if the node.Err() has an error.
func (*Node) NextSibling ¶
NextSibling returns a node that is next to this giving node in it's parent's list.
func (*Node) PrependChild ¶ added in v0.1.8
PrependChild adds new child at the top of list.
Comment and Text nodes can't have children.
Operation will fail if the node.Err() has an error.
func (*Node) PreviousSibling ¶
PreviousSibling returns a node that is previous to this giving node in it's parent's list.
func (*Node) Reconcile ¶
Reconcile attempts to reconcile old Node set with this node set returning an true/false when such occurs, else updates this node with information regarding changes such as removals of node children.
Reconcile will return true if this node should be swapped with old node in it's tree, as both the root it self has changed.
Reconciliation is done breath first, where the node is checked first
against it's counter part and if there is matching state then all it's child nodes are checked and will be accordingly set for swapping or updating if not matching.
func (*Node) ReconcileStream ¶
ReconcileStream runs the reconciliation process for this node against a provided old version. It produces a JSON list containing all changed nodes from removed nodes and nodes which have seen an update from a previous version in the old node.
It will will not produce nodes in proper order, but in partial order where a changed node is rendered top-down till it's children but never it's parent. The node should contain adequate information (mainly through it's ref retrieved by Node.RefTree()) of it's ancestry and location.
func (*Node) RefTree ¶
RefTree returns the tree path for giving node by collecting the parents ID till this node.
func (*Node) RenderHTML ¶
RenderHTML renders giving Nodes using a html markup syntax format.
Underneath it calls Node.RenderHTMLTo (See comments for method).
func (*Node) RenderHTMLDiff ¶
RenderHTMLDiff renders giving Nodes using a html markup syntax format.
Underneath it calls Node.RenderHTMLTo (See comments for method).
func (*Node) RenderHTMLTo ¶
RenderHTMLTo renders giving Nodes using a html markup syntax format to provided strings.Builder. This allows memory efficient rendering.
It implements an efficient means of using HTML as the defactor means of visualizing the produced output of a giving node and it's children.
It runs depth-first collected all internal representation of a node, it's attributes and children.
func (*Node) RenderJSONNode ¶
func (*Node) RenderShallowHTML ¶
RenderShallowHTML renders as HTML giving node tag alone without rendering children.
func (*Node) RenderShallowJSONNode ¶
func (*Node) ResetNode ¶
func (n *Node) ResetNode()
ResetNode resets giving node alone without affecting it's underline sub-tree.
It keeps it's children as it was for re-use. See ResetTree for a more expansive reset call.
func (*Node) ResetTree ¶
ResetTree resets both the node and it's children nodes in a depth-first manner.
It accepts a function which will be called against this node and all children nodes to allow user provide a garbage action like adding nodes back into an object pool.
The list of nodes is set back to empty once done, allowing this node to be re-used.
func (*Node) WalkTreeDeptFirst ¶ added in v0.1.8
type NodeAttrList ¶
type NodeAttrList struct {
// contains filtered or unexported fields
}
NodeAttrList implements the a set list for Nodes using their Node.RefID() value as unique keys.
func (*NodeAttrList) Add ¶
func (na *NodeAttrList) Add(n *Node)
Add adds giving node into giving list if it has giving attribute value.
func (*NodeAttrList) Count ¶
func (na *NodeAttrList) Count() int
Count returns the total content count of map
func (*NodeAttrList) Remove ¶
func (na *NodeAttrList) Remove(n *Node)
Remove removes giving node into giving list if it has giving attribute value.
func (*NodeAttrList) Reset ¶
func (na *NodeAttrList) Reset()
Reset resets the internal hashmap used for storing nodes. There by removing all registered nodes.
type NodeEncoder ¶
type NodeEncoder interface { AttrEncodable EncodeChild(Nodes) error EncodeName(string) error }
NodeEncoder exposes method which provide means of encoding a giving node which is a combination of a name, attributes and child nodes.
type NodeHandler ¶ added in v0.1.8
type NodeHandler func(*Node)
type NodeHashList ¶
type NodeHashList struct {
// contains filtered or unexported fields
}
NodeHashList implements the a set list for Nodes using their Node.RefID() value as unique keys.
func (*NodeHashList) Add ¶
func (na *NodeHashList) Add(n *Node)
Add adds giving node into giving list if it has giving attribute value.
func (*NodeHashList) Count ¶
func (na *NodeHashList) Count() int
Count returns the total content count of map
func (*NodeHashList) Remove ¶
func (na *NodeHashList) Remove(n *Node)
Remove removes giving node into giving list if it has giving attribute value.
func (*NodeHashList) Reset ¶
func (na *NodeHashList) Reset()
Reset resets the internal hashmap used for storing nodes. There by removing all registered nodes.
type NodeList ¶
type NodeList []*Node
NodeList defines a type for slice of nodes, implementing the Mounter interface.
type NodeType ¶
type NodeType int
NodeType defines a giving type of node.
type Nodes ¶
type Nodes interface {
EncodeNode(NodeEncoder)
}
Nodes defines an interface which expose a method for encoding a giving implementer sing provider NodeEncoder.
type ReconcileNotifier ¶
type ReconcileNotifier func(changed *Node)
ReconcileNotifier defines a function type which can be passed into the Node.Reconcile method which will be notified for changes be they a new node, removal of old node or swapping of changed nodes.
The function is expected to return a boolean value which indicates if due to some internal error wants to force an immediate stop reconciliation operations to allow return.
type Selector ¶
A Selector is a function which tells whether a node matches or not.
func MustQuery ¶
MustQuery returns a new selector based on provided matching string. If there is an error in compiling the text then it panics.
func Query ¶
Query parses a selector and returns, if successful, a Selector object that can be used to match against Node objects.
func (Selector) MatchAll ¶
MatchAll returns a slice of the nodes that match the selector, from n and its children.
func (Selector) MatchFirst ¶
MatchFirst returns the first node that matches s, from n and its children.
type StringAttr ¶
StringAttr implements the Attr interface for a string key-value pair.
func NamespaceAttr ¶
func NamespaceAttr(v string) StringAttr
NamespaceAttr returns a new StringAttr with Name set to "namespace".
func NewStringAttr ¶
func NewStringAttr(n string, v string) StringAttr
NewStringAttr returns a new instance of a StringAttr
func Placeholder ¶
func Placeholder(text string) StringAttr
Placeholder sets the placeholder attribute value.
func (StringAttr) Clone ¶
func (s StringAttr) Clone() Attr
func (StringAttr) Contains ¶
func (s StringAttr) Contains(other string) bool
Contains returns true/false if provided value is contained in attr.
func (StringAttr) EncodeAttr ¶
func (s StringAttr) EncodeAttr(encoder AttrEncoder) error
EncodeAttr implements the AttrEncodable interface.
func (StringAttr) EncodeObject ¶
func (s StringAttr) EncodeObject(enc npkg.ObjectEncoder)
EncodeObject implements encoding using the npkg.EncodableObject interface.
func (StringAttr) Key ¶
func (s StringAttr) Key() string
Key returns giving key or name of attribute.
func (StringAttr) Match ¶
func (s StringAttr) Match(other Attr) bool
Match returns true/false if giving attributes matches.
func (StringAttr) Mount ¶
func (s StringAttr) Mount(parent *Node)
Mount implements the Mounter interface.
func (StringAttr) Text ¶
func (s StringAttr) Text() string
Text returns giving value of attribute as text.
func (StringAttr) Value ¶
func (s StringAttr) Value() interface{}
Value returns giving value of attribute.
type StringListAttr ¶
StringListAttr implements the Attr interface for a string key-value pair.
func NewStringListAttr ¶
func NewStringListAttr(n string, join string, v ...string) StringListAttr
NewStringListAttr returns a new instance of a StringListAttr
func (*StringListAttr) Add ¶
func (s *StringListAttr) Add(item string)
Adds a new item into the list.
func (StringListAttr) Clone ¶
func (s StringListAttr) Clone() Attr
func (StringListAttr) Contains ¶
func (s StringListAttr) Contains(other string) bool
Contains returns true/false if provided value is contained in attr.
func (StringListAttr) EncodeAttr ¶
func (s StringListAttr) EncodeAttr(encoder AttrEncoder) error
EncodeAttr implements the AttrEncodable interface.
func (StringListAttr) EncodeObject ¶
func (s StringListAttr) EncodeObject(enc npkg.ObjectEncoder)
EncodeObject implements encoding using the npkg.EncodableObject interface.
func (StringListAttr) Key ¶
func (s StringListAttr) Key() string
Key returns giving key or name of attribute.
func (StringListAttr) Match ¶
func (s StringListAttr) Match(other Attr) bool
Match returns true/false if giving attributes matches.
func (StringListAttr) Mount ¶
func (s StringListAttr) Mount(parent *Node)
Mount implements the Mounter interface.
func (*StringListAttr) MustAdd ¶ added in v0.1.8
func (s *StringListAttr) MustAdd(item string)
MustAdds a new item into the list.
func (StringListAttr) Text ¶
func (s StringListAttr) Text() string
Text returns giving value of attribute as text.
func (StringListAttr) Value ¶
func (s StringListAttr) Value() interface{}
Value returns giving value of attribute.
type Stringer ¶
type Stringer interface {
String() string
}
Stringer defines an interface which exposes a method to get it's underline text using it's String() method.
type TextContent ¶
type TextContent string
TextContent implements the Stringer interface for type string.
func (TextContent) String ¶
func (t TextContent) String() string
String returns the underline string type.
type ThemeDirective ¶ added in v0.1.8
func Themes ¶ added in v0.1.8
func Themes(t ...string) *ThemeDirective
func (*ThemeDirective) Add ¶ added in v0.1.8
func (td *ThemeDirective) Add(t string) error
func (*ThemeDirective) Mount ¶ added in v0.1.8
func (td *ThemeDirective) Mount(p *Node)
func (*ThemeDirective) MustAdd ¶ added in v0.1.8
func (td *ThemeDirective) MustAdd(t string)