feat: add page footer
This commit is contained in:
@@ -3,6 +3,7 @@ import { EditorMode, PageMode, PaperDirection } from '../dataset/enum/Editor'
|
||||
import { ICheckboxOption } from './Checkbox'
|
||||
import { IControlOption } from './Control'
|
||||
import { ICursorOption } from './Cursor'
|
||||
import { IFooter } from './Footer'
|
||||
import { IHeader } from './Header'
|
||||
import { IMargin } from './Margin'
|
||||
import { IPageNumber } from './PageNumber'
|
||||
@@ -49,6 +50,7 @@ export interface IEditorOption {
|
||||
paperDirection?: PaperDirection;
|
||||
inactiveAlpha?: number;
|
||||
header?: IHeader;
|
||||
footer?: IFooter;
|
||||
pageNumber?: IPageNumber;
|
||||
watermark?: IWatermark;
|
||||
control?: IControlOption;
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
import { MaxHeightRatio } from '../dataset/enum/Common'
|
||||
|
||||
export interface IFooter {
|
||||
bottom?: number;
|
||||
maxHeightRadio?: MaxHeightRatio;
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
import { HeaderMaxHeightRatio } from '../dataset/enum/Header'
|
||||
import { MaxHeightRatio } from '../dataset/enum/Common'
|
||||
|
||||
export interface IHeader {
|
||||
top?: number;
|
||||
maxHeightRadio?: HeaderMaxHeightRatio;
|
||||
maxHeightRadio?: MaxHeightRatio;
|
||||
}
|
||||
Reference in New Issue
Block a user