File

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

Implements

OnInit

Metadata

selector smart-toolbar-item-renderer
template
<div #content><div #container></div></div>

Index

Properties
Inputs
Accessors

Constructor

constructor(viewContainer: ViewContainerRef, elementRef: ElementRef, factoryResolver: ComponentFactoryResolver, injector: Injector)
Parameters :
Name Type Optional
viewContainer ViewContainerRef No
elementRef ElementRef<HTMLElement> No
factoryResolver ComponentFactoryResolver No
injector Injector No

Inputs

componentContext
Type : string
componentId
Type : string

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

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

result-matching ""

    No results matching ""