-
Type: Question
-
Status: Open
-
Priority: Minor
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Web UI
Currently nuxeo-app.html contains
<nuxeo-suggester id="suggester"></nuxeo-suggester>
which makes it impossible to override the suggest bar on top on the UI.
Some customers are requesting to make changes with
- replace the current code with a slot
<nuxeo-slot name="DOCUMENT_SUGGESTER"></nuxeo-slot>
- move these lines to a the nuxeo-suggester element
<nuxeo-keys keys="/ ctrl+space s" on-pressed="_showSuggester"></nuxeo-keys> { _showSuggester(e) { e.detail.keyboardEvent.preventDefault(); this.$.suggester.toggle(); // Ajuster l'appel de fonction },
- add a contribution for this new slot
<nuxeo-slot-content name="documentSuggester" slot="DOCUMENT_SUGGESTER"> <template> <nuxeo-suggester id="suggester"></nuxeo-suggester> </template> </nuxeo-slot-content>