This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 246948 - Exclude Angular directives from Knockout component's list of attributes
Summary: Exclude Angular directives from Knockout component's list of attributes
Status: NEW
Alias: None
Product: web
Classification: Unclassified
Component: Knockout (show other bugs)
Version: 8.1
Hardware: PC Linux
: P3 normal (vote)
Assignee: Petr Pisl
Depends on:
Reported: 2014-09-09 14:11 UTC by Vladimir Riha
Modified: 2015-09-09 11:54 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Riha 2014-09-09 14:11:53 UTC
If you have a custom component like

ko.components.register('message-editor', {
    viewModel: function(params) {
        this.text = ko.observable(params.initialText || '');
    template: 'Message: <input data-bind="value: text" /> '
            + '(length: <span data-bind="text: text().length"></span>)'

and then in HTML file invoke cc at "|"

<message-editor | ></message-editor>

it offers also AngularJS directives, would it be possible to remove them from the list?

Thank you

Product Version: NetBeans IDE Dev (Build web-main-1251-on-20140909)
Java: 1.8.0_20; Java HotSpot(TM) Client VM 25.20-b23
Runtime: Java(TM) SE Runtime Environment 1.8.0_20-b26
System: Linux version 3.13.0-32-generic running on i386; UTF-8; en_US (nb)