gpt4 book ai didi

angularjs - angular formly - 如何以 Angular 形式在动态标签上应用自定义 css?

转载 作者:行者123 更新时间:2023-11-28 04:08:05 25 4
gpt4 key购买 nike

如何以 Angular 形式在动态标签上应用自定义 css?

对于我们的一种形式模式,我正在创建动态标签,如下所示。

   formlyConfig.templateOptions.wrapperLabel = 'Is '+ emailAddress + ' the best email?';

emailAddress - populated by service.

想在 UI 上显示为 - abc@abc.com 是最好的电子邮件吗?

最佳答案

看起来您需要使用 Template Manipulators在 Formly 中为您的标签添加标记。

关于angularjs - angular formly - 如何以 Angular 形式在动态标签上应用自定义 css?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42859605/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com