我正在使用Fontselect jQuery插件,它工作得很好,但我想在我的代码中随时从下拉列表中选择一种字体。它看起来像是在使用一个原型函数,但我似乎无法正确访问它并调用它的函数。
该插件位于这里:https://github.com/tommoor/fontselect-jquery-plugin
我正在使用Fontselect jQuery插件,它工作得很好,但我想在我的代码中随时从下拉列表中选择一种字体。它看起来像是在使用一个原型函数,但我似乎无法正确访问它并调用它的函数。
该插件位于这里:https://github.com/tommoor/fontselect-jquery-plugin
1条答案
按热度按时间ruyhziif1#
因为没有方法从插件中选择字体,解决它的方法是基于模拟单击和鼠标事件。
实现目标的另一种方法可以是: