mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-11-15 09:15:41 +00:00
20 lines
687 B
JavaScript
20 lines
687 B
JavaScript
class ConcordanceQueryBuilder {
|
|
|
|
constructor() {
|
|
|
|
this.elements = new ElementReferencesQueryBuilder();
|
|
this.generalFunctions = new GeneralFunctionsQueryBuilder(this.elements);
|
|
this.tokenAttributeBuilderFunctions = new TokenAttributeBuilderFunctionsQueryBuilder(this.elements);
|
|
this.structuralAttributeBuilderFunctions = new StructuralAttributeBuilderFunctionsQueryBuilder(this.elements);
|
|
|
|
this.elements.positionalAttrModal = M.Modal.init(
|
|
document.querySelector('#corpus-analysis-concordance-positional-attr-modal'),
|
|
{
|
|
onOpenStart: () => {
|
|
this.tokenAttributeBuilderFunctions.optionToggleHandler();
|
|
}
|
|
}
|
|
);
|
|
}
|
|
}
|