Class: ParticiappResultsChangeEvent
Defined in: particiapp-web-components.js:176
The ParticiappResultsChangeEvent class represents a particiappresultschange
event. A particiappresultschange event is dispatched by the
Extends
Event
Constructors
new ParticiappResultsChangeEvent()
new ParticiappResultsChangeEvent(type, options?): ParticiappResultsChangeEvent
Defined in: particiapp-web-components.js:186
The constructor returns a newly constructed ParticiappResultsChangeEvent object.
Parameters
type
string
The name of the event.
options?
Optional values passed to the Event constructor.
results?
Results
The voting results associated with the <pa-conversation>.
Returns
Overrides
Event.constructor
Properties
AT_TARGET
readonly AT_TARGET: 2;
Defined in: ../../../../root/.npm/_npx/4661334f0781fdbe/node_modules/typescript/lib/lib.dom.d.ts:8765
Inherited from
Event.AT_TARGET
bubbles
readonly bubbles: boolean;
Defined in: ../../../../root/.npm/_npx/4661334f0781fdbe/node_modules/typescript/lib/lib.dom.d.ts:8660
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.
Inherited from
Event.bubbles
BUBBLING_PHASE
readonly BUBBLING_PHASE: 3;
Defined in: ../../../../root/.npm/_npx/4661334f0781fdbe/node_modules/typescript/lib/lib.dom.d.ts:8766
Inherited from
Event.BUBBLING_PHASE
cancelable
readonly cancelable: boolean;
Defined in: ../../../../root/.npm/_npx/4661334f0781fdbe/node_modules/typescript/lib/lib.dom.d.ts:8672
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.
Inherited from
Event.cancelable
cancelBubble
cancelBubble: boolean;
Defined in: ../../../../root/.npm/_npx/4661334f0781fdbe/node_modules/typescript/lib/lib.dom.d.ts:8666
Deprecated
Inherited from
Event.cancelBubble
CAPTURING_PHASE
readonly CAPTURING_PHASE: 1;
Defined in: ../../../../root/.npm/_npx/4661334f0781fdbe/node_modules/typescript/lib/lib.dom.d.ts:8764
Inherited from
Event.CAPTURING_PHASE
composed
readonly composed: boolean;
Defined in: ../../../../root/.npm/_npx/4661334f0781fdbe/node_modules/typescript/lib/lib.dom.d.ts:8678
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.
Inherited from
Event.composed
currentTarget
readonly currentTarget: null | EventTarget;
Defined in: ../../../../root/.npm/_npx/4661334f0781fdbe/node_modules/typescript/lib/lib.dom.d.ts:8684
Returns the object whose event listener's callback is currently being invoked.
Inherited from
Event.currentTarget
defaultPrevented
readonly defaultPrevented: boolean;
Defined in: ../../../../root/.npm/_npx/4661334f0781fdbe/node_modules/typescript/lib/lib.dom.d.ts:8690
Returns true if preventDefault() was invoked successfully to indicate cancelation, and false otherwise.
Inherited from
Event.defaultPrevented
eventPhase
readonly eventPhase: number;
Defined in: ../../../../root/.npm/_npx/4661334f0781fdbe/node_modules/typescript/lib/lib.dom.d.ts:8696
Returns the event's phase, which is one of NONE, CAPTURING_PHASE, AT_TARGET, and BUBBLING_PHASE.
Inherited from
Event.eventPhase
isTrusted
readonly isTrusted: boolean;
Defined in: ../../../../root/.npm/_npx/4661334f0781fdbe/node_modules/typescript/lib/lib.dom.d.ts:8702
Returns true if event was dispatched by the user agent, and false otherwise.
Inherited from
Event.isTrusted
NONE
readonly NONE: 0;
Defined in: ../../../../root/.npm/_npx/4661334f0781fdbe/node_modules/typescript/lib/lib.dom.d.ts:8763
Inherited from
Event.NONE
results
results: undefined | Results;
Defined in: particiapp-web-components.js:189
The voting results associated with the <pa-conversation>.
returnValue
returnValue: boolean;
Defined in: ../../../../root/.npm/_npx/4661334f0781fdbe/node_modules/typescript/lib/lib.dom.d.ts:8708
Deprecated
Inherited from
Event.returnValue
srcElement
readonly srcElement: null | EventTarget;
Defined in: ../../../../root/.npm/_npx/4661334f0781fdbe/node_modules/typescript/lib/lib.dom.d.ts:8714
Deprecated
Inherited from
Event.srcElement
target
readonly target: null | EventTarget;
Defined in: ../../../../root/.npm/_npx/4661334f0781fdbe/node_modules/typescript/lib/lib.dom.d.ts:8720
Returns the object to which event is dispatched (its target).
Inherited from
Event.target
timeStamp
readonly timeStamp: number;
Defined in: ../../../../root/.npm/_npx/4661334f0781fdbe/node_modules/typescript/lib/lib.dom.d.ts:8726
Returns the event's timestamp as the number of milliseconds measured relative to the time origin.
Inherited from
Event.timeStamp
type
readonly type: string;
Defined in: ../../../../root/.npm/_npx/4661334f0781fdbe/node_modules/typescript/lib/lib.dom.d.ts:8732
Returns the type of event, e.g. "click", "hashchange", or "submit".
Inherited from
Event.type
AT_TARGET
readonly static AT_TARGET: 2;
Defined in: ../../../../root/.npm/_npx/4661334f0781fdbe/node_modules/typescript/lib/lib.dom.d.ts:8774
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:8775
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:8773
Inherited from
Event.CAPTURING_PHASE
NONE
readonly static NONE: 0;
Defined in: ../../../../root/.npm/_npx/4661334f0781fdbe/node_modules/typescript/lib/lib.dom.d.ts:8772
Inherited from
Event.NONE
Methods
composedPath()
composedPath(): EventTarget[]
Defined in: ../../../../root/.npm/_npx/4661334f0781fdbe/node_modules/typescript/lib/lib.dom.d.ts:8738
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.
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:8744
Parameters
type
string
bubbles?
boolean
cancelable?
boolean
Returns
void
Deprecated
Inherited from
Event.initEvent
preventDefault()
preventDefault(): void
Defined in: ../../../../root/.npm/_npx/4661334f0781fdbe/node_modules/typescript/lib/lib.dom.d.ts:8750
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.
Returns
void
Inherited from
Event.preventDefault
stopImmediatePropagation()
stopImmediatePropagation(): void
Defined in: ../../../../root/.npm/_npx/4661334f0781fdbe/node_modules/typescript/lib/lib.dom.d.ts:8756
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.
Returns
void
Inherited from
Event.stopImmediatePropagation
stopPropagation()
stopPropagation(): void
Defined in: ../../../../root/.npm/_npx/4661334f0781fdbe/node_modules/typescript/lib/lib.dom.d.ts:8762
When dispatched in a tree, invoking this method prevents event from reaching any objects other than the current object.
Returns
void
Inherited from
Event.stopPropagation