Custom Functions

Hemos añadido dos funciones custom las cuales no se puede cambiar el nombre de las mismas ya que eso afectaría al código principal. Aquí le dejamos un poco más de información para que sepa que añadir dentro de las funciones:
customNotification(msg, type)El parámetro
msges el mensaje que aparece en la notificación, eso significa que en el export o evento que utilice su servidor para enseñar las notificaciones, deberá pasarmsgcomo el mensaje.El parámetro
typees el tipo de notificación que es, eso significa que si es un error eltypeserá igual a error. Los tipos que hay son los siguientes:"error","success"y"primary". Si su sistema de notificaciones no usatype, puede ignorar este parámetro.
El parámetro
msges el mensaje que aparece en el Help Text UI, eso significa que en el export o evento que utilice su servidor para enseñar el Help Text UI, deberá pasarmsgcomo el mensaje.

We have added two custom functions whose names cannot be changed, as doing so would affect the main code. Below is more information to guide you on what to include within these functions:
The
msgparameter is the message displayed in the notification. This means that in the export or event your server uses to display notifications, you should passmsgas the message.The
typeparameter specifies the type of notification. For example, if it is an error,typeshould be set to"error". The available types are:"error","success"and"primary". If your notification system does not usetype, you can ignore this parameter.
The
msgparameter is the message displayed in the Help Text UI. This means that in the export or event your server uses to display the Help Text UI, you should passmsgas the message.
Last updated