File

src/ui/toolbar/controls/smart-toolbar-custom-item-renderer.component.ts

Extends

ToolBarToolComponent

Implements

OnInit

Metadata

Index

Properties
Inputs
Accessors

Constructor

constructor(viewContainer: ViewContainerRef, elementRef: ElementRef, injector: Injector, smartCustomComponents: any[])
Parameters :
Name Type Optional
viewContainer ViewContainerRef No
elementRef ElementRef<HTMLElement> No
injector Injector No
smartCustomComponents any[] No

Inputs

componentContext
Type : string

Sets the component context for the toolbar item renderer.

componentId
Type : string

Sets the component ID for the toolbar item renderer.

Properties

container
Type : ViewContainerRef
Decorators :
@ViewChild('container', {read: ViewContainerRef, static: true})
contentRef
Type : ViewContainerRef
Decorators :
@ViewChild('content', {read: ViewContainerRef, static: true})
domElement
Type : ElementRef
Decorators :
@ViewChild('content', {read: ElementRef, static: true})

Accessors

componentId
getcomponentId()

Returns the component ID for the toolbar item renderer.

Returns : string
setcomponentId(value: string)

Sets the component ID for the toolbar item renderer.

Parameters :
Name Type Optional Description
value string No
  • The component ID.
Returns : void
componentContext
getcomponentContext()

Returns the component context for the toolbar item renderer.

Returns : string
setcomponentContext(value: string)

Sets the component context for the toolbar item renderer.

Parameters :
Name Type Optional Description
value string No
  • The component context.
Returns : void
content
getcontent()
Returns : HTMLElement
bindingContext
getbindingContext()
Returns : any
setbindingContext(value: any)
Parameters :
Name Type Optional
value any No
Returns : void
clientWidth
getclientWidth()
Returns : number
Legend
Html element
Component
Html element with directive

results matching ""

    No results matching ""