can-todomvc-test

    6.1.0 • Public • Published

    can-todomvc-test

    This project is used to test a CanJS implementation of TodoMVC.
    To use it:

    1. Install it
    npm install can-todomvc-test --save-dev
    
    1. Import it and pass it your application main element:
    class TodoMVC extends StacheElement {
      static view = "";
      static props = { ... };
    }
    customElements.define("todo-mvc", TodoMVC);
     
    ...
     
    const todoMvcTest = require("can-todomvc-test");
    todoMvcTest(document.querySelector("todo-mvc"));

    Keywords

    none

    Install

    npm i can-todomvc-test

    DownloadsWeekly Downloads

    3

    Version

    6.1.0

    License

    MIT

    Unpacked Size

    30.5 kB

    Total Files

    6

    Last publish

    Collaborators

    • bgando
    • chasen
    • justinbmeyer
    • m-mujica
    • matthewp