-
-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FitScreenHeight, window-resize, Breakpoints class, fixes - release 1.2.2
- Loading branch information
Showing
19 changed files
with
1,052 additions
and
664 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
import { CupertinoPane, CupertinoSettings } from 'cupertino-pane'; | ||
import { PaneBreaks } from './models'; | ||
/** | ||
* Breakpoints builde | ||
*/ | ||
export declare class Breakpoints { | ||
private instance; | ||
private settings; | ||
topper: number; | ||
bottomer: number; | ||
breaks: {}; | ||
lockedBreakpoints: any; | ||
currentBreakpoint: number; | ||
prevBreakpoint: string; | ||
brs: number[]; | ||
private defaultBreaksConf; | ||
constructor(instance: CupertinoPane, settings: CupertinoSettings); | ||
/** | ||
* Function builder for breakpoints and heights | ||
* @param conf breakpoints | ||
*/ | ||
buildBreakpoints(conf?: PaneBreaks, lock?: boolean): Promise<void>; | ||
getCurrentBreakName(): (string | null); | ||
/** | ||
* Private class methods | ||
*/ | ||
private getPaneFitHeight; | ||
getClosestBreakY(): number; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.