package ppx_css
A ppx that takes in css strings and produces a module for accessing the unique names defined within
Install
Dune Dependency
Authors
Maintainers
Sources
ppx_css-v0.16.0.tar.gz
sha256=58a8f237e28c0f223e85552f0f1097c9f7a9682fccee61c593dae32c506926ae
doc/src/ppx_css.css_parser/parser.ml.html
Source file parser.ml
1 2 3 4 5
let parse_stylesheet ?container_lnum ?pos css = Lexer.parse_string ?container_lnum ?pos css Menhir_parser.stylesheet let parse_declaration_list ?container_lnum ?pos css = Lexer.parse_string ?container_lnum ?pos css Menhir_parser.declaration_list
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>