Skip to content

Class: ParticiappVoteSubmitEvent

Defined in: particiapp-web-components.js:400

The ParticiappVoteSubmitEvent class represents a particiappvotesubmit event. A particiappvotesubmit is dispatched by the when the button was interacted with.

Extends

  • Event

Constructors

new ParticiappVoteSubmitEvent()

new ParticiappVoteSubmitEvent(type, options?): ParticiappVoteSubmitEvent

Defined in: particiapp-web-components.js:410

The constructor returns a newly constructed ParticiappVoteSubmitEvent object.

Parameters

type

string

The name of the event.

options?

Optional values passed to the Event constructor.

statementID?

string

The statement identifier.

value?

string

The vote value.

Returns

ParticiappVoteSubmitEvent

Overrides

Event.constructor

Properties

AT_TARGET

readonly AT_TARGET: 2;

Defined in: ../../../../root/.npm/_npx/4661334f0781fdbe/node_modules/typescript/lib/lib.dom.d.ts:8602

Inherited from

Event.AT_TARGET

bubbles

readonly bubbles: boolean;

Defined in: ../../../../root/.npm/_npx/4661334f0781fdbe/node_modules/typescript/lib/lib.dom.d.ts:8497

Returns true or false depending on how event was initialized. True if event goes through its target's ancestors in reverse tree order, and false otherwise.

MDN Reference

Inherited from

Event.bubbles

BUBBLING_PHASE

readonly BUBBLING_PHASE: 3;

Defined in: ../../../../root/.npm/_npx/4661334f0781fdbe/node_modules/typescript/lib/lib.dom.d.ts:8603

Inherited from

Event.BUBBLING_PHASE

cancelable

readonly cancelable: boolean;

Defined in: ../../../../root/.npm/_npx/4661334f0781fdbe/node_modules/typescript/lib/lib.dom.d.ts:8509

Returns true or false depending on how event was initialized. Its return value does not always carry meaning, but true can indicate that part of the operation during which event was dispatched, can be canceled by invoking the preventDefault() method.

MDN Reference

Inherited from

Event.cancelable

cancelBubble

cancelBubble: boolean;

Defined in: ../../../../root/.npm/_npx/4661334f0781fdbe/node_modules/typescript/lib/lib.dom.d.ts:8503

Deprecated

MDN Reference

Inherited from

Event.cancelBubble

CAPTURING_PHASE

readonly CAPTURING_PHASE: 1;

Defined in: ../../../../root/.npm/_npx/4661334f0781fdbe/node_modules/typescript/lib/lib.dom.d.ts:8601

Inherited from

Event.CAPTURING_PHASE

composed

readonly composed: boolean;

Defined in: ../../../../root/.npm/_npx/4661334f0781fdbe/node_modules/typescript/lib/lib.dom.d.ts:8515

Returns true or false depending on how event was initialized. True if event invokes listeners past a ShadowRoot node that is the root of its target, and false otherwise.

MDN Reference

Inherited from

Event.composed

currentTarget

readonly currentTarget: null | EventTarget;

Defined in: ../../../../root/.npm/_npx/4661334f0781fdbe/node_modules/typescript/lib/lib.dom.d.ts:8521

Returns the object whose event listener's callback is currently being invoked.

MDN Reference

Inherited from

Event.currentTarget

defaultPrevented

readonly defaultPrevented: boolean;

Defined in: ../../../../root/.npm/_npx/4661334f0781fdbe/node_modules/typescript/lib/lib.dom.d.ts:8527

Returns true if preventDefault() was invoked successfully to indicate cancelation, and false otherwise.

MDN Reference

Inherited from

Event.defaultPrevented

eventPhase

readonly eventPhase: number;

Defined in: ../../../../root/.npm/_npx/4661334f0781fdbe/node_modules/typescript/lib/lib.dom.d.ts:8533

Returns the event's phase, which is one of NONE, CAPTURING_PHASE, AT_TARGET, and BUBBLING_PHASE.

MDN Reference

Inherited from

Event.eventPhase

isTrusted

readonly isTrusted: boolean;

Defined in: ../../../../root/.npm/_npx/4661334f0781fdbe/node_modules/typescript/lib/lib.dom.d.ts:8539

Returns true if event was dispatched by the user agent, and false otherwise.

MDN Reference

Inherited from

Event.isTrusted

NONE

readonly NONE: 0;

Defined in: ../../../../root/.npm/_npx/4661334f0781fdbe/node_modules/typescript/lib/lib.dom.d.ts:8600

Inherited from

Event.NONE

returnValue

returnValue: boolean;

Defined in: ../../../../root/.npm/_npx/4661334f0781fdbe/node_modules/typescript/lib/lib.dom.d.ts:8545

Deprecated

MDN Reference

Inherited from

Event.returnValue

srcElement

readonly srcElement: null | EventTarget;

Defined in: ../../../../root/.npm/_npx/4661334f0781fdbe/node_modules/typescript/lib/lib.dom.d.ts:8551

Deprecated

MDN Reference

Inherited from

Event.srcElement

statementID

statementID: undefined | string;

Defined in: particiapp-web-components.js:413

The statement identifier.


target

readonly target: null | EventTarget;

Defined in: ../../../../root/.npm/_npx/4661334f0781fdbe/node_modules/typescript/lib/lib.dom.d.ts:8557

Returns the object to which event is dispatched (its target).

MDN Reference

Inherited from

Event.target

timeStamp

readonly timeStamp: number;

Defined in: ../../../../root/.npm/_npx/4661334f0781fdbe/node_modules/typescript/lib/lib.dom.d.ts:8563

Returns the event's timestamp as the number of milliseconds measured relative to the time origin.

MDN Reference

Inherited from

Event.timeStamp

type

readonly type: string;

Defined in: ../../../../root/.npm/_npx/4661334f0781fdbe/node_modules/typescript/lib/lib.dom.d.ts:8569

Returns the type of event, e.g. "click", "hashchange", or "submit".

MDN Reference

Inherited from

Event.type

value

value: undefined | string;

Defined in: particiapp-web-components.js:415

The vote value.


AT_TARGET

readonly static AT_TARGET: 2;

Defined in: ../../../../root/.npm/_npx/4661334f0781fdbe/node_modules/typescript/lib/lib.dom.d.ts:8611

Inherited from

Event.AT_TARGET

BUBBLING_PHASE

readonly static BUBBLING_PHASE: 3;

Defined in: ../../../../root/.npm/_npx/4661334f0781fdbe/node_modules/typescript/lib/lib.dom.d.ts:8612

Inherited from

Event.BUBBLING_PHASE

CAPTURING_PHASE

readonly static CAPTURING_PHASE: 1;

Defined in: ../../../../root/.npm/_npx/4661334f0781fdbe/node_modules/typescript/lib/lib.dom.d.ts:8610

Inherited from

Event.CAPTURING_PHASE

NONE

readonly static NONE: 0;

Defined in: ../../../../root/.npm/_npx/4661334f0781fdbe/node_modules/typescript/lib/lib.dom.d.ts:8609

Inherited from

Event.NONE

Methods

composedPath()

composedPath(): EventTarget[]

Defined in: ../../../../root/.npm/_npx/4661334f0781fdbe/node_modules/typescript/lib/lib.dom.d.ts:8575

Returns the invocation target objects of event's path (objects on which listeners will be invoked), except for any nodes in shadow trees of which the shadow root's mode is "closed" that are not reachable from event's currentTarget.

MDN Reference

Returns

EventTarget[]

Inherited from

Event.composedPath

initEvent()

initEvent(
   type, 
   bubbles?, 
   cancelable?): void

Defined in: ../../../../root/.npm/_npx/4661334f0781fdbe/node_modules/typescript/lib/lib.dom.d.ts:8581

Parameters

type

string

bubbles?

boolean

cancelable?

boolean

Returns

void

Deprecated

MDN Reference

Inherited from

Event.initEvent

preventDefault()

preventDefault(): void

Defined in: ../../../../root/.npm/_npx/4661334f0781fdbe/node_modules/typescript/lib/lib.dom.d.ts:8587

If invoked when the cancelable attribute value is true, and while executing a listener for the event with passive set to false, signals to the operation that caused event to be dispatched that it needs to be canceled.

MDN Reference

Returns

void

Inherited from

Event.preventDefault

stopImmediatePropagation()

stopImmediatePropagation(): void

Defined in: ../../../../root/.npm/_npx/4661334f0781fdbe/node_modules/typescript/lib/lib.dom.d.ts:8593

Invoking this method prevents event from reaching any registered event listeners after the current one finishes running and, when dispatched in a tree, also prevents event from reaching any other objects.

MDN Reference

Returns

void

Inherited from

Event.stopImmediatePropagation

stopPropagation()

stopPropagation(): void

Defined in: ../../../../root/.npm/_npx/4661334f0781fdbe/node_modules/typescript/lib/lib.dom.d.ts:8599

When dispatched in a tree, invoking this method prevents event from reaching any objects other than the current object.

MDN Reference

Returns

void

Inherited from

Event.stopPropagation