UNPKG

framework7

Version:

Full featured mobile HTML framework for building iOS & Android apps

26 lines (22 loc) 672 B
import Framework7, { Framework7Plugin } from '../../components/app/app-class.js'; export namespace Resize { interface AppMethods { /** App width in px */ width: number; /** App height in px */ height: number; /** App left offset in px */ left: number; /** App top offset in px */ top: number; } interface AppParams {} interface AppEvents { /** Event will be fired on app resize (window resize). */ resize: () => void; /** Event will be fired on app orientation change (window orientantion change). */ orientationchange: () => void; } } declare const ResizeModule: Framework7Plugin; export default ResizeModule;