pf-mention
v4.0.5
Published
pf-mention webcomponent
Downloads
16
Readme
pf-mention
Classes
Functions
MentionResource
Provides a Javascript API
Kind: global class
new MentionResource(config)
| Param | Type | Description | | --- | --- | --- | | config | Object | = { url: string (required), // the base url of the mentions service securityProvider: function (required), a function returning an object with headers and/or params, e.g. { headers: { key1: [values], key2: value, }, params: { key1: [values], key2: value, } } containerId: string (optional) } |
mentionResource._initialState(containerId) ⇒
Returns the initial mention display list before a search is performed for the specified container.
Kind: instance method of MentionResource
Returns: Promise
| Param | | --- | | containerId |
MentionPicker
Kind: global class
"selected"
This event gets emitted when an item in the MentionList gets selected.
Kind: event emitted by MentionPicker
"mentionListRendered"
This event gets emitted after the MentionList has been rendered.
Kind: event emitted by MentionPicker
requestService() ⇒
Kind: global function
Returns: Promise containing the json response
Support and feedback
We're here to help!
Let us know what you think of our components and docs, your feedback is really important for us.
Community support
Ask a question in our forum.
Check if someone has already asked the same question before.
Create a support ticket
Are you in trouble? Let us know!