Skip to main content

Decorators (core)

@InjectView

import { InjectView } from '@hexajs-dev/core';
@InjectView()

@View

import { View } from '@hexajs-dev/core';
@View(options: ViewOptions)

Types & Interfaces

ViewOptions

import { ViewOptions } from '@hexajs-dev/core';
interface ViewOptions {
id: string;
component: any;
styles?: string;
anchorSelector?: string;
}