Dynamic module composition

Index

Variables

Variables

activateDuringComposition: boolean

sets activate: true on every compose binding

bindAndShow: (element: HTMLElement, view: HTMLElement, settings: any) => void

the default implementation on binding and showing content during composition

compose: (element: HTMLElement, settings: any, bindingContext: any) => void

the default method for composing

convertTransitionToModuleId: (name: string) => string

changes the convention for finding where transitions are located

defaultStrategy: (settings: any) => JQueryPromise<any>

the default strategy which is: return viewLocator.locateViewForObject(settings.model, settings.viewElements);

defaultTransitionName: string

sets a default transition for all compositions

executeStrategy: (element: HTMLElement, settings: any) => void

the default method for executing a strategy during composition

getSettings: (valueAccessor: any) => any

the default method for getting settings from the binding handler compose.

inject: (element: HTMLElement, settings: any) => void

the default method for injecting during composition

switchContent: (parent: HTMLElement, newChild: HTMLElement, settings: any) => void

the default implementation for switching the content during composition