如何阻止Font Awesome使用单词?

时间:2019-05-23 10:29:58

标签: xaml xamarin.forms font-awesome

希望这是有道理的,因为对我来说这很奇怪。

本质上来说,我的问题是Font Awesome似乎用我不想发生的图标覆盖了某些单词,而这一切都是在XAML中完成的。如果我直接引用unicode,我只想使用Font Awesome,否则我想看到我实际键入的单词。

我现在还不确定如何解决这个问题,因为我在网上找到Xamarin Forms和Font Awesome之间的任何参考文献,通常人们都在努力使FA正常工作。这不是我当前的问题。

import { async, ComponentFixture, TestBed,inject } from '@angular/core/testing';
import { Component, Inject } from '@angular/core';
import { HttpClientTestingModule, HttpTestingController  } from '@angular/common/http/testing';
import {
  HttpEvent,
  HttpInterceptor,
  HttpHandler,
  HttpRequest,
  HttpErrorResponse
} from '@angular/common/http';
import { SummaryLevel, GuideLevel } from '@pm-web/pm-latte/data-interfaces';
import { HttpClientModule } from '@angular/common/http'; 

beforeEach(() => {
    TestBed.configureTestingModule({
      imports: [
        HttpClientTestingModule,
      ],
      providers: [
        ExistingTradeSummaryFacadeService,
      ],
    });
  });


it(`should create`, async(inject([HttpTestingController, ExistingTradeSummaryFacadeService],
  (httpClient: HttpTestingController, apiService: ExistingTradeSummaryFacadeService) => {
    expect(apiService).toBeTruthy();
})));

在上面的代码之后,我希望仅在Text属性的开头看到SortBy图标-在这里我引用以&和;结尾的代码;

这很好用-但是当我键入“ Sort”时,我也得到了相同的图标,这是我不想要的。

0 个答案:

没有答案