@mostajs/imagemap-ui
v0.1.0
Published
Image-map cliquable (rendu HTML-string, zéro dépendance) : image + zones %25 + légende bilingue. Compose @mostajs/app-shell-ui. Membre de mosta-ui-html-stack.
Maintainers
Readme
@mostajs/imagemap-ui
Image-map cliquable (HTML-string, zéro dépendance) — image + zones % + légende bilingue.
Auteur : Dr Hamid MADANI [email protected] · AGPL-3.0-or-later · Membre de mosta-ui-html-stack.
import { page, THEME_CSS } from '@mostajs/app-shell-ui';
import { imagemap, IMAGEMAP_CSS } from '@mostajs/imagemap-ui';
const body = imagemap({ title: 'Architecture', image: '/img/plan.png', blocks: [{ key:'companies', n:1, fr:'Entreprises', ar:'المؤسسات', x:58, y:24, w:12, h:10 }] });
const html = page({ title: 'Architecture', theme: THEME_CSS + IMAGEMAP_CSS, body });Vue pure (compose @mostajs/app-shell-ui). IMAGEMAP_CSS à ajouter au thème. npm test (3 tests @mostajs/mjs-unit).
