Ajout d'un setter permettant d'attribuer de l'extérieur un ordre de classement au champ.
This commit is contained in:
parent
751fb44142
commit
af7c915826
@ -41,6 +41,11 @@ export class SortingField implements SortingFields
|
|||||||
return this._fieldsDOMSelector;
|
return this._fieldsDOMSelector;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
set order(setting :"asc"|"desc"|undefined )
|
||||||
|
{
|
||||||
|
this._order=setting;
|
||||||
|
}
|
||||||
|
|
||||||
get order() : "asc"|"desc"|undefined
|
get order() : "asc"|"desc"|undefined
|
||||||
{
|
{
|
||||||
return this._order;
|
return this._order;
|
||||||
|
Loading…
Reference in New Issue
Block a user