blikblum/luipack-js

custom analytics: implement optional state / properties

Opened this issue · 0 comments

alternatives API

class MyAnalytics  {
   static states = ['patients', ['value', {optional: true}]]
}

similar to lit properties

class MyAnalytics  {
   static states = {
      patients: {},
      value: {optional: true}
   }
}