Interactive Angular 19 demo for @sda/notification-elements-ui with 6 sections: Bell & Feed, Notification Center, Inbox, Comments & Threads, Mention Input, and Full-Featured layout. Includes mock data, dark mode toggle, and real-time event log. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
17 lines
399 B
JavaScript
17 lines
399 B
JavaScript
var less = {
|
|
logLevel: 4,
|
|
errorReporting: 'console'
|
|
};
|
|
less.functions = {
|
|
add: function(a, b) {
|
|
return new(less.tree.Dimension)(a.value + b.value);
|
|
},
|
|
increment: function(a) {
|
|
return new(less.tree.Dimension)(a.value + 1);
|
|
},
|
|
_color: function(str) {
|
|
if (str.value === 'evil red') {
|
|
return new(less.tree.Color)('600');
|
|
}
|
|
}
|
|
}; |