Search results

ChipList

A chip component is a small block of essential information, mostly used on contacts or filter tags.

<div id="chip"></div>
<script>
var chipObj = new ChipList();
chipObj.appendTo("#chip");
</script>

Properties

avatar

AvatarModel

Avatar fields

Defaults to {}

cssClass

string

chip css

Defaults to

dataSource

string[] | number[] | Object[]

chip data

Defaults to []

enableDelete

boolean

chip delete

Defaults to false

enablePersistence

boolean

Enable or disable persisting component’s state between page reloads.

Defaults to false

enableRtl

boolean

Enable or disable rendering component in right to left direction.

Defaults to false

iconCss

IconCssModel

icon css fields

Defaults to {}

locale

string

Overrides the global culture and localization value for this component. Default global culture is ‘en-US’.

Defaults to undefined

selection

selection

chip selection

Defaults to ‘None’

text

string

Avatar fields

Defaults to {}

Methods

addEventListener

Adds the handler to the given event listener.

Returns void

appendTo

Appends the control within the given HTML element

Parameter Type Description
selector (optional) string | HTMLElement Target element where control needs to be appended

Returns void

dataBind

When invoked, applies the pending property changes immediately to the component.

Returns void

refresh

Applies all the pending property changes and render the component again.

Returns void

removeEventListener

Removes the handler from the given event listener.

Returns void

Inject

Dynamically injects the required modules to the component.

Returns void

Events

click

EmitType<Event>

Triggers once the chip is clicked.

created

EmitType<Event>

Triggers once the component rendering is completed.

delete

EmitType<Event>

Triggers once the chip is deleted.

select

EmitType<Event>

Triggers once the chip is selected.

Contents

Please provide additional information


Please provide additional information


Please provide additional information


Please provide additional information


Please provide additional information


Please provide additional information
Thank you for your feedback and comments.We will rectify this as soon as possible!