Skip to content
Victor Tomaili edited this page May 3, 2021 · 1 revision

Splitted the cheat sheet of Wesley Huang into more specific parts for easier finding the topics.


The Wonder of Q

Q is a powerful little tool in the .ts side. Definitely worth looking into it's features. Learn it, Love It, Use it.

Examples:

  • Q.isEmptyOrNull() - checks if the given item is empty and returns a boolean
  • Q.first() - Returns the first item from a array list that matches the given filter.
  • Q.count() - counts number of items in array
  • Q.reloadLookup() - reloads the lookup script on the client side
  • Q.getLookup() - Gets the Lookup for a given key.
  • Q.notifyWarning() [or Success/Info/Error] - Creates Toast notification alert.

Clone this wiki locally