Skip to content

Class: Result

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

The Result class represents the result associated with a statement.

Constructors

new Result()

new Result(result): Result

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

The constructor returns a newly created Result object.

Parameters

result

APIResult

The result JSON object returned by the server.

Returns

Result

Properties

statementID

statementID: number;

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

The statement identifier.


statementText

statementText: string;

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

The statement text.


value

value: number;

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

The ratio of voters who either agreed or disagreed with this statement.