Wagtail client-side components
    Preparing search index...

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    blockCounter: number
    blockDef: any
    children: any[]
    container: JQuery<HTMLElement>
    countInput: JQuery<HTMLElement>
    inserters: any[]
    prefix: any
    sequenceContainer: JQuery<HTMLElement>
    sortable: any
    type: any

    Methods

    • Parameters

      • blockDef: any
      • placeholder: any
      • prefix: any
      • index: any
      • id: any
      • initialState: any
      • sequence: any
      • opts: any

      Returns ListChild

    • Called when an 'insert new block' action is triggered: given a dict of data from the insertion control, return the block definition and initial state to be used for the new block. For a ListBlock, no data is passed from the insertion control, as there is a single fixed child block definition.

      Returns any[]

    • Parameters

      • index: any
      • valueBefore: any
      • valueAfter: any
      • shouldMoveCommentFn: any
      • opts: any

      Returns void