interface OnViewOptions {
    skipInitial?: boolean;
    views?: CommaSeparatedStr<View> | View[];
}

Properties

Properties

skipInitial?: boolean

Do not call the handler until there's a future resize of the element.

By default we call the handler (almost) immediately with the current size data for the target.

false

Specifies a list of Views to target for.

The handler will only be called if there is a change of view relative to the target that matches the given ones.

It can be a comma-separated list of "views" or an array of such names.

undefined