Family Chart API Documentation - v0.8.1
    Preparing search index...

    Class AddRelative

    Index

    Constructors

    Properties

    addRelLabels: {
        daughter: string;
        father: string;
        mother: string;
        son: string;
        spouse: string;
    }
    canAdd?: (
        datum: Datum,
    ) => { child?: boolean; parent?: boolean; spouse?: boolean }
    cancelCallback: (datum: Datum) => void
    datum: null | Datum
    is_active: boolean
    onActivate: () => void
    onCancel: null | (() => void)
    onChange: null | ((updated_datum: Datum, props: any) => void)
    store: Store

    Methods

    • Returns {
          daughter: string;
          father: string;
          mother: string;
          son: string;
          spouse: string;
      }

    • Parameters

      • add_rel_labels: {
            daughter: string;
            father: string;
            mother: string;
            son: string;
            spouse: string;
        }

      Returns undefined | AddRelative

    • Parameters

      • canAdd:
            | undefined
            | (
                (
                    datum: Datum,
                ) => { child?: boolean; parent?: boolean; spouse?: boolean }
            )

      Returns AddRelative