Skip to content

Class: Results

Defined in: particiapp-web-client.js:373

The Results class represents all of the results of a conversation including those of the majority and all groups.

Constructors

new Results()

new Results(results?): Results

Defined in: particiapp-web-client.js:379

The constructor returns a newly created Results object.

Parameters

results?

APIResults = {}

The results JSON object returned by the server.

Returns

Results

Properties

groups

groups: GroupResults[];

Defined in: particiapp-web-client.js:386

Group results of up to five groups of voters grouped by their voting behavior.


majority

majority: GroupResults;

Defined in: particiapp-web-client.js:381

The group result for the majority of voters.