File

src/app/layout/html-builder/utils/less.service.ts

Index

Methods

Constructor

constructor()

Methods

Public render
render(lessString: string)
Parameters :
Name Type Optional
lessString string No
Returns : any
import { Injectable } from '@angular/core';
import * as less from 'less';

@Injectable({
  providedIn: 'root',
})
export class LessService {

  constructor() { }

  public render(lessString: string) {
    return less.render(lessString);
  }
}

result-matching ""

    No results matching ""