Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IHiccupShape

Hierarchy

Index

Properties

Methods

Properties

Optional attribs

attribs: Attribs

Readonly type

type: number | string

Methods

copy

  • Returns a copy of this instance. Shallow or deep copies are implementation specific.

    Returns IShape

toHiccup

  • toHiccup(ctx?: any, attribs?: any, ...xs: any[]): any
  • Returns a {@link @thi.ng/hiccup# | @thi.ng/hiccup} compatible representation. The optional ctx arg is an arbitrary user context object passed to all hiccup components during serialization (or during DOM creation / update if used with {@link @thi.ng/hdom# | @thi.ng/hdom})

    Parameters

    • Optional ctx: any

      user context object

    • Optional attribs: any

      user attribs

    • Rest ...xs: any[]

      additional args

    Returns any

Generated using TypeDoc