Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ComponentAttribs

Hierarchy

Indexable

[_: string]: any

Index

Properties

Optional __diff

__diff: undefined | false | true

HDOM behavior control attribute. If true (default), the element will be fully processed by diffTree(). If false, no diff will be computed and the replaceChild() operation will be called in the currently active hdom target implementation.

Optional __impl

__impl: HDOMImplementation<any>

HDOM behavior control attribute. If present, the element and all of its children will be processed by the given HDOMImplementation instead of the default implementation.

Optional __normalize

__normalize: undefined | false | true

HDOM behavior control attribute. If false, the current element's children will not be normalized. Use this when you're sure that all children are already in canonical format (incl. key attributes). See normalizeTree() for details.

Optional __release

__release: undefined | false | true

HDOM behavior control attribute. If false, hdom will not attempt to call release() lifecycle methods on this element or any of its children.

Optional __serialize

__serialize: undefined | false | true

Currently only used by {@link @thi.ng/hiccup# | @thi.ng/hiccup}. No relevance for hdom. If false, the element and its children will be omitted from the serialized result.

Optional __skip

__skip: undefined | false | true

HDOM behavior control attribute. If true, the element will not be diffed and simply skipped. IMPORTANT: This attribute is only intended for cases when a component / tree branch should not be updated, but MUST NEVER be enabled when that component is first included in the tree. Doing so will result in undefined future behavior.

Note, skipped elements and their children are being normalized, but are ignored during diffing. Therefore, if this attribute is enabled the element should either have no children OR the children are the same (type) as when the attribute is disabled (i.e. when __skip is falsy).

Optional class

class: undefined | string

Optional disabled

disabled: undefined | false | true

Optional href

href: undefined | string

Optional id

id: undefined | string

Optional key

key: undefined | string

Optional style

style: string | IObjectOf<string | number>

Generated using TypeDoc