yorkie-js-sdk

Home > yorkie-js-sdk > Counter

Counter class

Counter is a custom data type that is used to counter.

Signature:

export declare class Counter 

Constructors

Constructor Modifiers Description
(constructor)(value)   Constructs a new instance of the Counter class

Methods

Method Modifiers Description
getID()   getID returns the ID of this text.
increase(v)   increase increases numeric data.