mselementresize event

Fires when certain HTML elements are resized.

Syntax

 

Event information

Synchronous No
Bubbles No
Cancelable No

 

Event handler parameters

This method has no parameters.

Standards information

Remarks

As of Internet Explorer 11 support for the attachEvent method of registering event handlers ended.

Prior to this, the attachEvent method could be paired with the onresize event to detect when certain elements in a webpage were resized.

The mselementresize event, when paired with the addEventListener method of registering event handlers, provides similar functionality as onresize did prior to IE11.

See also

address

article

aside

blockQuote

body

button

canvas

center

dd

div

dl

dt

embed

fieldSet

figcaption

figure

form

frame

frameSet

hn

header

hgroup

hr

i

img

input type=button

input type=checkbox

input type=email

input type=file

input type=hidden

input type=image

input type=number

input type=password

input type=radio

input type=range

input type=reset

input type=search

input type=submit

input type=tel

input type=text

input type=url

legend

li

marquee

menu

nav

ol

p

plainText

pre

progress

section

select

table

td

textArea

th

ul

video