package
0.0.0-20231025151301-5a1af90f15b4
Repository: https://github.com/siongui/gopalilib.git
Documentation: pkg.go.dev

# Functions

GetSuggestedWords returns suggested words starting with prefix, and the number of returned suggested words is limited by second argument.
GetSuggestedWordsHtml returns the html string of suggested words.
GetWordDefinitionHtml returns the html string of word definition according to setting and window.navigator.languages.
GetWordDefinitionHtmlWithCustomTemplate is the same as GetWordDefinitionHtml, except the html template is given by the caller.
GetWordPreviewHtml returns the html string of word preview according to setting and window.navigator.languages.
GetWordPreviewHtmlWithCustomTemplate is the same as GetWordPreviewHtml, except the html template is given by the caller.
Lookup returns if the word is in the dictionary.
No description provided by the author
No description provided by the author

# Constants

HtmlTemplateBookNameWordExps is html template for word definition.
HtmlTemplateSuggestedWords is html template for suggested words.
HtmlTemplateWordPreview is html template for word preview.