{
    "$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
    "name": "ng-event-plugins",
    "framework": "angular",
    "version": "3.2.0",
    "description-markup": "markdown",
    "contributions": {
        "js": {
            "ng-custom-events": [
                {
                    "name": "Custom modifiers for declarative events handling",
                    "priority": "normal",
                    "pattern": {
                        "template": [
                            {
                                "items": {
                                    "path": "/js/events",
                                    "includeVirtual": false
                                }
                            },
                            {
                                "items": "ng-event-plugins-modifiers",
                                "template": [".", "#...", "#item:modifiers"],
                                "priority": "high",
                                "repeat": true,
                                "unique": true,
                                "required": false
                            }
                        ]
                    },
                    "ng-event-plugins-modifiers": [
                        {
                            "name": "capture",
                            "description": "Subscribe to event in capture phase"
                        },
                        {
                            "name": "once",
                            "description": "Unsubscribe from event after first emit"
                        },
                        {
                            "name": "passive",
                            "description": "Add passive event listener (that cannot prevent default behavior)"
                        },
                        {
                            "name": "prevent",
                            "description": "Call .preventDefault() on the event"
                        },
                        {
                            "name": "self",
                            "description": "Ignore bubbled events"
                        },
                        {
                            "name": "silent",
                            "description": "Run event handler outside NgZone to not trigger change detection"
                        },
                        {
                            "name": "stop",
                            "description": "Call .stopPropagation() on the event"
                        }
                    ]
                }
            ]
        }
    }
}
