can-define icon indicating copy to clipboard operation
can-define copied to clipboard

Observable properties

Results 38 can-define issues
Sort by recently updated
recently updated
newest added

As a user, learning about and typing `can-define/list/list` & `can-define/map/map` feels redundant. Additionally, the documented package in the canjs.com sidebar is can-define, which is a lower-level API that people mostly...

p1

__How often can you reproduce it?__ - [X] Always - [ ] Sometimes - [ ] Rarely - [ ] Unable - [ ] I didn’t try __Description:__ Creating a...

__How often can you reproduce it?__ - [x] Always - [ ] Sometimes - [ ] Rarely - [ ] Unable - [ ] I didn’t try __Description:__ If the...

bug

Related to #415, we could do: ```js DefineMap.extend({ thing: {defaultValue: [] } }) ``` Other names? We could use `value: []` this way after a breaking change.

discussion

I'd like something like the following to work: ```js DefineMap.extend({ name: "string" nameChangeCount: { default: 0, reduce: { "name": (last, nameEvent)=> last + 1; } } }) ``` Essentially, the...

discussion

> This was discussed on a [recent live stream (19:10)](https://youtu.be/UxBJtHm4Km0?t=1150) and a [previous live stream (33:18)](https://youtu.be/kx-JxYSWlEc?t=1998). Problem: I found ViewModels with many properties to be error prone when switching between...

enhancement
help wanted
discussion

I think the following might be a useful addition to our documentation: ## The difference between lastSetValue and resolve __Summary__: `getters` maintain both a __lastSetValue__ and a __getterValue__. These are...

documentation

If you have a VM property with a getter and a setter, and you return from that setter you will see the following error on the console: `canReflect.setValue - cannot...

bug

can-define should work with objects that already have an `addEventListener`, such as dom elements.

bug
in progress

## can-define - [ ] Needs a purpose section. - [ ] Probably could show use of [can-observation]. ## can-define.types.html - [x] codepen-able ES6 examples - [x] Links to `can-define-types`....

documentation