@readapt/visual-engine
TypeScript icon, indicating that this package has built-in type declarations

1.8.4 • Public • Published

@readapt/visual-engine

Installation

npm

  1. Install @readapt/visual-engine package:
     npm install @readapt/visual-engine

Usage

//import analyse function from text-engine
import { analyse } from "@readapt/text-engine"
// import the builder function
import { buildAdaptHtmlElement } from '@readapt/visual-engine'

// build the adaptHtmlElement function
const adaptHtmlElement: AdaptHtmlElementFn = buildAdaptHtmlElement(analyse)

// pass as param the HTMLElement to be adapted and the user settings
adaptHtmlElement(element, settings)

Readme

Keywords

none

Package Sidebar

Install

npm i @readapt/visual-engine

Weekly Downloads

18

Version

1.8.4

License

Apache-2.0

Unpacked Size

14.3 MB

Total Files

115

Last publish

Collaborators

  • panzerdp
  • readapt-contentsquare
  • sylvinus
  • eboukamza
  • aradjdi-contentsquare