1. Nebula Nebula
  2. /
  3. JavaScript
  4.  (Page 12)

copyText()

This function has been deprecated in favor of the Async Clipboard API. This function stores the text into a hidden div until it is copied. The callback function has a passed boolean parameter whether the copy command was successful. Read More »

keywordFilter()

"Container" is the element that wraps all of the individual elements. Think of this as the boundary for the filter. In a list example, the "container" would be the UL. "Parent" is each individual element that will be filtered. In a list example, the "parent" would be the "LI". Note, the function is an alias Read More »

helpers()

Currently this function does the following: Adds rel="nofollow external" to outbound links Adds "no-icon" class to images within a tags Adds "no-icon" class to child a tags whose parent also has the class. This function used to add classes such as "last-child", "first-child", "odd", and "even" to appropriate elements, but has been removed since support for Read More »