Callback that is invoked when a MultiPageLayout has calculated a new multi-page layout.
Inheritance Hierarchy
ILayoutCallback
Type Details
- yfiles module
- layout-multipage
- yfiles-umd modules
- layout-multipage, layout
- Legacy UMD name
- yfiles.multipage.ILayoutCallback
See Also
Methods
Invoked from applyLayout when a new multi-page layout has been calculated.
Parameters
options - Object
A map of options to pass to the method.
A map of options to pass to the method.
- result - MultiPageLayoutResult
- the result of the layout calculation
See Also
Static Methods
Creates an implementation of the interface ILayoutCallback by using the given function as implementation for its layoutDone method.
Parameters
options - Object
A map of options to pass to the method.
A map of options to pass to the method.
- layoutDone - function(MultiPageLayoutResult):void
- A function for ILayoutCallback's single abstract method layoutDone.
Returns
- ↪ILayoutCallback
- An instance of the ILayoutCallback interface based on the given function.