Fixed a type in the visible function naming.

This commit is contained in:
MattMo 2022-03-06 22:57:29 -08:00
parent 2a22c3a89f
commit e36ee1d42c

View File

@ -851,7 +851,7 @@ class IgniteTemplate {
* @param {Function} converter
* @returns {IgniteTemplate} This ignite template so function calls can be chained.
*/
visibile(value, converter = null) {
visible(value, converter = null) {
return this.style("visibility", value, true, (...params) => {
return ((converter != null && converter(...params)) || (converter == null && params[0])) ? null : "visible";
});