api-viewer-element icon indicating copy to clipboard operation
api-viewer-element copied to clipboard

Support `deprecated` flag

Open bennypowers opened this issue 3 years ago • 0 comments

CEM recently got a deprecated flag on most entities. It can either be a boolean or a string deprecation reason. We should support deprecated in the props, slots, events, methods, and css docs viewers.

As an initial suggestion, perhaps deprecated properties could display with a soft red background (set by a css property) with a red border, and the deprecation reason (if present) in italics in a footer of the docs item.

bennypowers avatar Dec 17 '21 09:12 bennypowers