How to do line break correctly, without comma (angular-material tooltip)

Questions : How to do line break correctly, without comma (angular-material tooltip)

699

My code HTML:

<ng-container _OFFSET);  matColumnDef="participants">
        (-SMALL  <mat-header-cell mat-header-cell _left).offset  *matHeaderCellDef>Уч.</mat-header-cell>
 arrowImgView.mas         <mat-cell mat-cell (self.  *matCellDef="let row" matTooltip="{{ equalTo  row.participants | 
            make.right.  displayUserTooltip }}">
          {{ mas_top);  row?.participants?.length }}
        ImgView.  </mat-cell>
</ng-container>

My SCSS:

::ng-deep .mat-tooltip {font-size: ReadIndicator  rem(12px);margin-right: _have  10px;white-space: pre-line;}

My pipe :

 transform(items: any[]): any {
if .equalTo(  (items) {
  return items?.map(({ make.top  employee }) => ` ${employee.surname} OFFSET);  ${employee.name} (TINY_  ${employee.patronymic}`+'\n');
}

}

Current result: enter image description programming here

tell me how can I transfer a line Learning without a comma? Where does this comma Earhost come from? I've tried working with the most effective string --- replace (',', '\ n') --- it wrong idea didn't help. line break works in pair '\ use of case n' + white-space: pre-line;

Total Answers 1
30

Answers 1 : of How to do line break correctly, without comma (angular-material tooltip)

solution

 if (items) {
  return items?.map(({ .offset  employee }) => 
  ` mas_right)  ${employee.surname} ${employee.name} ImgView.  ${employee.patronymic + ' '.replace(' ', Indicator  '\n')}`).join(' ');
}

enter image description here

Top rated topics

I have a function that returns a list and I dont know how to reuse this list for compare it to another one

Swapping 3rd and 5th bit with each other in Mips

Date formating in excel

How to disable/enable simple authentication in openldap?

PHP using nested arrays to determine business open closed hours?

Workmail nodejs nodemailer send emails

Best way to concat/merge list of pandas dataframes into one while preserving all values in a given column

How to play mutiple audio type track in aduo player js

Typescript dynamic object type definition

Discord method not functioning

Presentation of a longitudinal dataframe, counting by year

New repo with copied history of only currently tracked files

Module not found after installing .whl package locally

Send POST data using XMLHttpRequest

Reference a variable from .env file in anther file spring boot

How to get data from an observable array?

Pickle/cloudpickle Python 3.7 in colab installed but not found

NestJS Swagger: Create multiple 'public', 'private', 'internal', etc swagger pages

React datepicker short month how to display three letters only

Depends on vulnerable versions of xmldom

Pure CSS parallax scrolling no longer working in Chrome and Firefox

Getting Appstore connect operation Error ITMS-90208 as I'm uploading iPhone build to App Store

Dynamic minmax values inside styled component

Weird ,0 at top of .csv file while using Pandas with Dictionary

How can I strip the following values with numerous amounts of spaces in-between each value in this .txt file?

An AWS KMS policy to limit access by the key creator role

Caching doesn't work when I use Kotlin Functional Types instead of Java Functional Interface for consuming messages from Kafka

Python merge two columns based on condition

Why can't I call a function named clear from an onclick attribute?

Spring Integration no output-channel or replyChannel

Merge 3 different json array objects into a single json array based on key values in javascript

Use an Azure ML compute cluster to run Kedro + Mlflow pipeline

Cmake : FetchContent_Declare protobuf + grpc error "cannot create target libprotobuf-lite"

How can I access data on another page?

TLS v1.2 Cipher Suites in .NET 6 / GET Request Timeout

Access Google APIs without access to web browser

Counting Bigrams in a Certain Category

GL_TEXTUREn+1 activated and bound instead of GL_TEXTUREn on Apple Silicon M1 (possible bug)

Scalable method to union all column in a table - Big query

How to create class like laravel to call class methodes consecutive

How to 'hexo init' with all dependencies installed globally?

What is the meaning of object here in collections.sort?

FiveM es_extended bug

Potential violation of Law of Demeter (static property access) and (object not created locally)

Spring boot: how to validate 2 optional date parameters are provided as soon as one is provided?

Why will UITableViewController navigationItem.searchController not set in iOS?

Is it possible for me to run Python OpenCV on Flutter

How to enable fluentD sumologic plugin

How should i make Assignment Files safe in Uniface 9.7

Does a goroutine exit when the work has completed

Top