Element.isClearlyHTML
A booleanic attribute of ClearlyHTML elements.
Values
true
This means the element is a ClearlyHTML element
false or other values
This means the element is not a ClearlyHTML element
Examples
var a = clrly.new("h1", {}, "hello"); // Create a new element with clrly.new
if(a.isClearlyHTML){ // Check if this is a ClearlyHTML element
alert("yes!"); // Alert if it is
}
Check if the element is a ClearlyHTML element - if so - alert!
Last updated