File

src/ui/form/smart-form-outlet.component.ts

Description

An outlet used to display SmartForms. It is the default component associated with SmartPASOE-generated Angular routes.

Implements

OnInit

Example

Metadata

selector smart-form-outlet
template
<smart-form			(onReady)="formReady($event)"
			*ngIf="ViewUri && !isChildActive"
			[smart-form-layout]="ViewUri"
		>
		</smart-form
		><router-outlet></router-outlet>

Index

Properties
Methods

Constructor

constructor(route: ActivatedRoute, breadcrumbRegistry: SmartBreadcrumbRegistryService)
Parameters :
Name Type Optional
route ActivatedRoute No
breadcrumbRegistry SmartBreadcrumbRegistryService No

Methods

formReady
formReady(event: FormReadyEvent)
Parameters :
Name Type Optional
event FormReadyEvent No
Returns : void

Properties

controller
Type : string

The current form's controller name.

formInstance
Type : SmartFormComponent

The instance of the SmartFormComponent currently being displayed.

isChildActive
Type : boolean

Indicates whether there is at least a child route displayed in the current view.

template
Type : string

The current form's template.

ViewUri
Type : string

The current form's template URL.

Legend
Html element
Component
Html element with directive

result-matching ""

    No results matching ""