AttributesEventsTraits

This is the event attributes trait.

This trait has been created to share common code between form elements classes, in this case the declaration of the event attributes and its set/get methods.

Tags
see
AttributesEventsTraits::getOnkeydown()
see
AttributesEventsTraits::getOnkeypress()
see
AttributesEventsTraits::getOnkeyup()
see
AttributesEventsTraits::getOnclick()
see
AttributesEventsTraits::getOndblclick()
see
AttributesEventsTraits::getOnmousedown()
see
AttributesEventsTraits::getOnmousemove()
see
AttributesEventsTraits::getOnmouseout()
see
AttributesEventsTraits::getOnmouseover()
see
AttributesEventsTraits::getOnmouseup()
see
AttributesEventsTraits::getOnmousewheel()
see
AttributesEventsTraits::getOnwheel()
see
AttributesEventsTraits::getOndrag()
see
AttributesEventsTraits::getOndragend()
see
AttributesEventsTraits::getOndragenter()
see
AttributesEventsTraits::getOndragleave()
see
AttributesEventsTraits::getOndragover()
see
AttributesEventsTraits::getOndragstart()
see
AttributesEventsTraits::getOndrop()
see
AttributesEventsTraits::getOnscroll()
see
AttributesEventsTraits::getOncopy()
see
AttributesEventsTraits::getOncut()
see
AttributesEventsTraits::getOnpaste()
see
AttributesEventsTraits::setOnkeydown()
see
AttributesEventsTraits::setOnkeypress()
see
AttributesEventsTraits::setOnkeyup()
see
AttributesEventsTraits::setOnclick()
see
AttributesEventsTraits::setOndblclick()
see
AttributesEventsTraits::setOnmousedown()
see
AttributesEventsTraits::setOnmousemove()
see
AttributesEventsTraits::setOnmouseout()
see
AttributesEventsTraits::setOnmouseover()
see
AttributesEventsTraits::setOnmouseup()
see
AttributesEventsTraits::setOnmousewheel()
see
AttributesEventsTraits::setOnwheel()
see
AttributesEventsTraits::setOndrag()
see
AttributesEventsTraits::setOndragend()
see
AttributesEventsTraits::setOndragenter()
see
AttributesEventsTraits::setOndragleave()
see
AttributesEventsTraits::setOndragover()
see
AttributesEventsTraits::setOndragstart()
see
AttributesEventsTraits::setOndrop()
see
AttributesEventsTraits::setOnscroll()
see
AttributesEventsTraits::setOncopy()
see
AttributesEventsTraits::setOncut()
see
AttributesEventsTraits::setOnpaste()

Table of Contents

$onclick  : string
$oncopy  : string
$oncut  : string
$ondblclick  : string
$ondrag  : string
$ondragend  : string
$ondragenter  : string
$ondragleave  : string
$ondragover  : string
$ondragstart  : string
$ondrop  : string
$onkeydown  : string
$onkeypress  : string
$onkeyup  : string
$onmousedown  : string
$onmousemove  : string
$onmouseout  : string
$onmouseover  : string
$onmouseup  : string
$onmousewheel  : string
$onpaste  : string
$onscroll  : string
$onwheel  : string
getOnclick() This method returns the current value of the 'onclick' event attribute.  : string
getOncopy() This method returns the current value of the 'oncopy' event attribute.  : string
getOncut() This method returns the current value of the 'oncut' event attribute.  : string
getOndblclick() This method returns the current value of the 'ondblclick' event attribute.  : string
getOndrag() This method returns the current value of the 'ondrag' event attribute.  : string
getOndragend() This method returns the current value of the 'ondragend' event attribute.  : string
getOndragenter() This method returns the current value of the 'ondragenter' event attribute.  : string
getOndragleave() This method returns the current value of the 'ondragleave' event attribute.  : string
getOndragover() This method returns the current value of the 'ondragover' event attribute.  : string
getOndragstart() This method returns the current value of the 'ondragstart' event attribute.  : string
getOndrop() This method returns the current value of the 'ondrop' event attribute.  : string
getOnkeydown() This method returns the current value of the 'onkeydown' event attribute.  : string
getOnkeypress() This method returns the current value of the 'onkeypress' event attribute.  : string
getOnkeyup() This method returns the current value of the 'onkeyup' event attribute.  : string
getOnmousedown() This method returns the current value of the 'onmousedown' event attribute.  : string
getOnmousemove() This method returns the current value of the 'onmousemove' event attribute.  : string
getOnmouseout() This method returns the current value of the 'onmouseout' event attribute.  : string
getOnmouseover() This method returns the current value of the 'onmouseover' event attribute.  : string
getOnmouseup() This method returns the current value of the 'onmouseup' event attribute.  : string
getOnmousewheel() This method returns the current value of the 'onmousewheel' event attribute.  : string
getOnpaste() This method returns the current value of the 'onpaste' event attribute.  : string
getOnscroll() This method returns the current value of the 'onscroll' event attribute.  : string
getOnwheel() This method returns the current value of the 'onwheel' event attribute.  : string
setOnclick() This method sets the 'onclick' event attribute with the given value and returns self.  : self
setOncopy() This method sets the 'oncopy' event attribute with the given value and returns self.  : self
setOncut() This method sets the 'oncut' event attribute with the given value and returns self.  : self
setOndblclick() This method sets the 'ondblclick' event attribute with the given value and returns self.  : self
setOndrag() This method sets the 'ondrag' event attribute with the given value and returns self.  : self
setOndragend() This method sets the 'ondragend' event attribute with the given value and returns self.  : self
setOndragenter() This method sets the 'ondragenter' event attribute with the given value and returns self.  : self
setOndragleave() This method sets the 'ondragleave' event attribute with the given value and returns self.  : self
setOndragover() This method sets the 'ondragover' event attribute with the given value and returns self.  : self
setOndragstart() This method sets the 'ondragstart' event attribute with the given value and returns self.  : self
setOndrop() This method sets the 'ondrop' event attribute with the given value and returns self.  : self
setOnkeydown() This method sets the 'onkeydown' event attribute with the given value and returns self.  : self
setOnkeypress() This method sets the 'onkeypress' event attribute with the given value and returns self.  : self
setOnkeyup() This method sets the 'onkeyup' event attribute with the given value and returns self.  : self
setOnmousedown() This method sets the 'onmousedown' event attribute with the given value and returns self.  : self
setOnmousemove() This method sets the 'onmousemove' event attribute with the given value and returns self.  : self
setOnmouseout() This method sets the 'onmouseout' event attribute with the given value and returns self.  : self
setOnmouseover() This method sets the 'onmouseover' event attribute with the given value and returns self.  : self
setOnmouseup() This method sets the 'onmouseup' event attribute with the given value and returns self.  : self
setOnmousewheel() This method sets the 'onmousewheel' event attribute with the given value and returns self.  : self
setOnpaste() This method sets the 'onpaste' event attribute with the given value and returns self.  : self
setOnscroll() This method sets the 'onscroll' event attribute with the given value and returns self.  : self
setOnwheel() This method sets the 'onwheel' event attribute with the given value and returns self.  : self

Properties

Methods

getOnclick()

This method returns the current value of the 'onclick' event attribute.

public getOnclick() : string
Return values
string

getOncopy()

This method returns the current value of the 'oncopy' event attribute.

public getOncopy() : string
Return values
string

getOncut()

This method returns the current value of the 'oncut' event attribute.

public getOncut() : string
Return values
string

getOndblclick()

This method returns the current value of the 'ondblclick' event attribute.

public getOndblclick() : string
Return values
string

getOndrag()

This method returns the current value of the 'ondrag' event attribute.

public getOndrag() : string
Return values
string

getOndragend()

This method returns the current value of the 'ondragend' event attribute.

public getOndragend() : string
Return values
string

getOndragenter()

This method returns the current value of the 'ondragenter' event attribute.

public getOndragenter() : string
Return values
string

getOndragleave()

This method returns the current value of the 'ondragleave' event attribute.

public getOndragleave() : string
Return values
string

getOndragover()

This method returns the current value of the 'ondragover' event attribute.

public getOndragover() : string
Return values
string

getOndragstart()

This method returns the current value of the 'ondragstart' event attribute.

public getOndragstart() : string
Return values
string

getOndrop()

This method returns the current value of the 'ondrop' event attribute.

public getOndrop() : string
Return values
string

getOnkeydown()

This method returns the current value of the 'onkeydown' event attribute.

public getOnkeydown() : string
Return values
string

getOnkeypress()

This method returns the current value of the 'onkeypress' event attribute.

public getOnkeypress() : string
Return values
string

getOnkeyup()

This method returns the current value of the 'onkeyup' event attribute.

public getOnkeyup() : string
Return values
string

getOnmousedown()

This method returns the current value of the 'onmousedown' event attribute.

public getOnmousedown() : string
Return values
string

getOnmousemove()

This method returns the current value of the 'onmousemove' event attribute.

public getOnmousemove() : string
Return values
string

getOnmouseout()

This method returns the current value of the 'onmouseout' event attribute.

public getOnmouseout() : string
Return values
string

getOnmouseover()

This method returns the current value of the 'onmouseover' event attribute.

public getOnmouseover() : string
Return values
string

getOnmouseup()

This method returns the current value of the 'onmouseup' event attribute.

public getOnmouseup() : string
Return values
string

getOnmousewheel()

This method returns the current value of the 'onmousewheel' event attribute.

public getOnmousewheel() : string
Return values
string

getOnpaste()

This method returns the current value of the 'onpaste' event attribute.

public getOnpaste() : string
Return values
string

getOnscroll()

This method returns the current value of the 'onscroll' event attribute.

public getOnscroll() : string
Return values
string

getOnwheel()

This method returns the current value of the 'onwheel' event attribute.

public getOnwheel() : string
Return values
string

setOnclick()

This method sets the 'onclick' event attribute with the given value and returns self.

public setOnclick(string $onclick) : self
Parameters
$onclick : string
Return values
self

setOncopy()

This method sets the 'oncopy' event attribute with the given value and returns self.

public setOncopy(string $oncopy) : self
Parameters
$oncopy : string
Return values
self

setOncut()

This method sets the 'oncut' event attribute with the given value and returns self.

public setOncut(string $oncut) : self
Parameters
$oncut : string
Return values
self

setOndblclick()

This method sets the 'ondblclick' event attribute with the given value and returns self.

public setOndblclick(string $ondblclick) : self
Parameters
$ondblclick : string
Return values
self

setOndrag()

This method sets the 'ondrag' event attribute with the given value and returns self.

public setOndrag(string $ondrag) : self
Parameters
$ondrag : string
Return values
self

setOndragend()

This method sets the 'ondragend' event attribute with the given value and returns self.

public setOndragend(string $ondragend) : self
Parameters
$ondragend : string
Return values
self

setOndragenter()

This method sets the 'ondragenter' event attribute with the given value and returns self.

public setOndragenter(string $ondragenter) : self
Parameters
$ondragenter : string
Return values
self

setOndragleave()

This method sets the 'ondragleave' event attribute with the given value and returns self.

public setOndragleave(string $ondragleave) : self
Parameters
$ondragleave : string
Return values
self

setOndragover()

This method sets the 'ondragover' event attribute with the given value and returns self.

public setOndragover(string $ondragover) : self
Parameters
$ondragover : string
Return values
self

setOndragstart()

This method sets the 'ondragstart' event attribute with the given value and returns self.

public setOndragstart(string $ondragstart) : self
Parameters
$ondragstart : string
Return values
self

setOndrop()

This method sets the 'ondrop' event attribute with the given value and returns self.

public setOndrop(string $ondrop) : self
Parameters
$ondrop : string
Return values
self

setOnkeydown()

This method sets the 'onkeydown' event attribute with the given value and returns self.

public setOnkeydown(string $onkeydown) : self
Parameters
$onkeydown : string
Return values
self

setOnkeypress()

This method sets the 'onkeypress' event attribute with the given value and returns self.

public setOnkeypress(string $onkeypress) : self
Parameters
$onkeypress : string
Return values
self

setOnkeyup()

This method sets the 'onkeyup' event attribute with the given value and returns self.

public setOnkeyup(string $onkeyup) : self
Parameters
$onkeyup : string
Return values
self

setOnmousedown()

This method sets the 'onmousedown' event attribute with the given value and returns self.

public setOnmousedown(string $onmousedown) : self
Parameters
$onmousedown : string
Return values
self

setOnmousemove()

This method sets the 'onmousemove' event attribute with the given value and returns self.

public setOnmousemove(string $onmousemove) : self
Parameters
$onmousemove : string
Return values
self

setOnmouseout()

This method sets the 'onmouseout' event attribute with the given value and returns self.

public setOnmouseout(string $onmouseout) : self
Parameters
$onmouseout : string
Return values
self

setOnmouseover()

This method sets the 'onmouseover' event attribute with the given value and returns self.

public setOnmouseover(string $onmouseover) : self
Parameters
$onmouseover : string
Return values
self

setOnmouseup()

This method sets the 'onmouseup' event attribute with the given value and returns self.

public setOnmouseup(string $onmouseup) : self
Parameters
$onmouseup : string
Return values
self

setOnmousewheel()

This method sets the 'onmousewheel' event attribute with the given value and returns self.

public setOnmousewheel(string $onmousewheel) : self
Parameters
$onmousewheel : string
Return values
self

setOnpaste()

This method sets the 'onpaste' event attribute with the given value and returns self.

public setOnpaste(string $onpaste) : self
Parameters
$onpaste : string
Return values
self

setOnscroll()

This method sets the 'onscroll' event attribute with the given value and returns self.

public setOnscroll(string $onscroll) : self
Parameters
$onscroll : string
Return values
self

setOnwheel()

This method sets the 'onwheel' event attribute with the given value and returns self.

public setOnwheel(string $onwheel) : self
Parameters
$onwheel : string
Return values
self

Search results