File

src/ui/toolbar/controls/smart-toolbar-combo.button.ts

Metadata

selector smart-toolbar-combo-button
styles ::ng-deep .smart-combo-button { margin-right: 5px; min-height: 30px; } , ::ng-deep .smart-combo-button.last { margin-left: 5px; margin-right: 0px !important; }
templateUrl ./smart-toolbar-combo.button.html

Index

Properties
Inputs
Accessors

Constructor

constructor(elementRef: ElementRef, vcRef: ViewContainerRef)
Parameters :
Name Type Optional
elementRef ElementRef<HTMLElement> No
vcRef ViewContainerRef No

Inputs

itemId
Type : string
listItems
Type : string[] | literal type[]

Properties

buttonType
Type : string
Default value : 'combo'
comboEditor
Type : SmartComboEditorComponent
Decorators :
@ViewChild(SmartComboEditorComponent, {static: true})
comboEditorDomElement
Type : ElementRef<HTMLElement>
Decorators :
@ViewChild('toolbarCombo', {read: ElementRef, static: true})
domElement
Type : ElementRef
Decorators :
@ViewChild('content', {read: ElementRef, static: true})
Public elementRef
Type : ElementRef<HTMLElement>
valueListPair
Type : string[]

Accessors

content
getcontent()
Returns : HTMLElement
valueList
getvalueList()
Returns : string[]
comboType
getcomboType()
Returns : string
clientWidth
getclientWidth()
Returns : number
<div #content>
<smart-combo-editor
    #toolbarCombo
    [value-list]="valueList"
    [value-list-pair]="valueListPair"
    class="smart-toolbar-item smart-combo-button">
</smart-combo-editor>
</div>

			::ng-deep .smart-combo-button {
				margin-right: 5px;
				min-height: 30px;
			}
		

			::ng-deep .smart-combo-button.last {
				margin-left: 5px;
				margin-right: 0px !important;
			}
		
Legend
Html element
Component
Html element with directive

result-matching ""

    No results matching ""