# class Keywords



# CONSTRUCTORS

# constructor Keywords()

Description:

# STATIC FUNCTIONS

# static function resolve(text, target)

Description: Resolve keywords in text based on the specified target.

Parameters:

  • text: (String) - Text containing keywords to resolve.
  • target: (Object) - The target to use to resolve keywords. This can be one of the following: Project, Layout, Surface, or Item.

Return:

(KeywordResult) - Returns a KeywordResult object which contains the resolved text and messages such as warnings.

# static function findKeywords(text)

Description: Find keywords within the text provided

Parameters:

  • text: (String) - The input text

Return:

(List) - Returns a list of keywords found

Last Updated: 12/20/2022, 8:12:45 AM