Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49240

SVG manipulation

$
0
0

@Hexago wrote:

Heeey!
This is my first post on this forum :smiley:

I’m here because I’m stuck for many days and I don’t find any solutions.
My request is simple: manipulate SVG which are included with object balise and dynamically.

Like this:

<a *ngFor="let filter of filters;let x = index" [ngClass]="filter['filterName']" (click)="filterAction(filter['filterName'], x)">
      <object type="image/svg+xml" class="active" [data]="src/trip.svg"></object>
      <p>{{ filter.title }}</p>
</a>

I want to manipulate this SVG with CSS class, and make animation on it…but my CSS class don’t work.

Thaaaank you so muuuch :wink:

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49240

Trending Articles