Event

Event

A basic Event Class.


Constructor

new Event(typeopt, potatoopt)

Parameters:
Name Type Attributes Default Description
type String <optional>
"event"

The type of Event

potato Object <optional>

An optional variable

Members

constructor

potato

An optional available variable.

target

The target of the Event.

type

The type of Event.

Methods

preventDefault()

Does not do anything, for override and available if needed.