Ytils Yupput API documentation

Version 0.13.3

Public functions on the Yupput instance

Function signature and return type Description
.hide() Hides the Yupput dialogue. This method is void.
.isVisible()
  * @returns {boolean}
Whether the Yupput dialogue is currently visible or not.
.show() Displays the Yupput dialogue with the current dataset. This method is void.
.updateData(values)
  * @param {YupputItem[]} values
Updates the data the Yupput dialogue works with and takes an array of YupputItems. The update will cause an UI reset. This function is void.
.updatePlaceholder(placeholder)
  * @param {string} placeholder
Updates the placeholder text of Yupputs user input. This function is void.