18.5.6 • Published 3 years ago

@paperclip-ui/autocomplete v18.5.6

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

Internal autocomplete library for Paperclip

Demo:

import { getSuggestions } from "@paperclip-ui/complete";

let source = `<style> .element { col`;

const suggestions = getSuggestions(source, {
  mixins: [["typography", "big-font"]],
  components: [["internal-component"]],
  classNames: [["typography", "my-imported-class"]]
}); // [{ sub: 3, value: "color" }]


const suggestion = suggestions[0];

source = source.substr(0, source.length - suggestion.length) + suggestion.value;
18.5.6

3 years ago

18.4.7

3 years ago

18.4.6

3 years ago

18.4.5

3 years ago

18.4.4

3 years ago

18.4.3

3 years ago

18.4.2

3 years ago