You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
213 B
10 lines
213 B
3 years ago
|
export const registValFun = (Element) => {
|
||
|
Element.registerFunction('val', function (value) {
|
||
|
if (BI.isNotNull(value)) {
|
||
|
this.text = `${value}`;
|
||
|
return this;
|
||
|
}
|
||
|
return this.text;
|
||
|
});
|
||
|
};
|