We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello there, I have been implementing this library with relative ease and joy but I have hit a roadblock.
This is my options config for the fontsampler:
{ order: [["fontfamily", "language", "fontsize", "alignment", "opentype"], "tester"], ui: { tester: { editable: false, label: false, }, language: { choices: ["enGB|English", "deDe|Deutsch", "nlNL|Dutch"], init: "enGb", label: false, }, opentype: { choices: ["liga|Ligatures", "frac|Fractions"], init: ["liga"], label: "Opentype features", }, }, lazyload: true, }
The order, language ui choices and lazyload work however any options for the tester or the label field on any feature doesn't do anything...
order
language ui choices
lazyload
tester
label
@kontur Am I using the wrong data structure or I am missing something? Thanks a lot!
The text was updated successfully, but these errors were encountered:
I think I found the culprit, the field should be called config, not ui... There definitely should be an update of the docs.
config
ui
config: { tester: { editable: false, label: false, } }
Sorry, something went wrong.
There definitely should be an update of the docs.
Oh yes, I must have missed that rename in the docs, my bad! Feel free to send a PR with the text corrected in the docs.
I forked the project to take a look and it seems like the online version is a little different.
I cannot seem to find the source anywhere in the codebase. Is it possible that the static version is using an old version of index.html? @kontur
index.html
Finally had a look at these and fixed some things that were off with the documentation 👍
No branches or pull requests
Hello there, I have been implementing this library with relative ease and joy but I have hit a roadblock.
This is my options config for the fontsampler:
The
order
,language ui choices
andlazyload
work however any options for thetester
or thelabel
field on any feature doesn't do anything...@kontur Am I using the wrong data structure or I am missing something? Thanks a lot!
The text was updated successfully, but these errors were encountered: