json-joy
    Preparing search index...

    Class InsStrOp

    Operation which inserts text into a "str" string object.

    Hierarchy

    • Op
      • InsStrOp

    Implements

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    data: string

    Unique ID of that operation within the document, Lamport timestamp.

    Object which is being edited.

    Methods

    • Some operations, such as array and string insert/delete operations are compound a single operation instance effectively represents multiple operations (one per character or array element).

      This method returns the effective number of operations.

      Returns number