Home Reference Source Repository

Function

Static Public Summary
public

addResizeListener(element: *, fn: *)

public

removeResizeListener(element: *, fn: *)

Static Public

public addResizeListener(element: *, fn: *) source

import {addResizeListener} from 'detect-resize'

Params:

NameTypeAttributeDescription
element *
fn *

public removeResizeListener(element: *, fn: *) source

import {removeResizeListener} from 'detect-resize'

Params:

NameTypeAttributeDescription
element *
fn *