getFavoriteJsString

Creates a JavaScript method string for a favorite action.

Return

The JavaScript method string for the favorite action.

Parameters

favoriteState

The FavoriteState for the favorite action.