Ajout d'un setter permettant d'attribuer de l'extérieur un ordre de classement au champ.

This commit is contained in:
Fabrice PENHOËT 2021-12-08 16:32:58 +01:00
parent 751fb44142
commit af7c915826

View File

@ -41,6 +41,11 @@ export class SortingField implements SortingFields
return this._fieldsDOMSelector;
}
set order(setting :"asc"|"desc"|undefined )
{
this._order=setting;
}
get order() : "asc"|"desc"|undefined
{
return this._order;