/*! * devextreme-angular-test * Version: 17.2.8 * Build date: Mon Feb 05 2018 * * Copyright (c) 2012 - 2018 Developer Express Inc. ALL RIGHTS RESERVED * * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file in the root of the project for details. * * https://github.com/DevExpress/devextreme-angular */ import { Component, NgModule, Host, SkipSelf, Input } from '@angular/core'; import { NestedOptionHost } from '../../core/nested-option'; import { NestedOption } from '../../core/nested-option'; @Component({ selector: 'dxo-marker', template: '', styles: [''], providers: [NestedOptionHost] }) export class DxoMarkerComponent extends NestedOption { @Input() get label(): any { return this._getOption('label'); } set label(value: any) { this._setOption('label', value); } @Input() get separatorHeight(): number { return this._getOption('separatorHeight'); } set separatorHeight(value: number) { this._setOption('separatorHeight', value); } @Input() get textLeftIndent(): number { return this._getOption('textLeftIndent'); } set textLeftIndent(value: number) { this._setOption('textLeftIndent', value); } @Input() get textTopIndent(): number { return this._getOption('textTopIndent'); } set textTopIndent(value: number) { this._setOption('textTopIndent', value); } @Input() get topIndent(): number { return this._getOption('topIndent'); } set topIndent(value: number) { this._setOption('topIndent', value); } @Input() get visible(): boolean { return this._getOption('visible'); } set visible(value: boolean) { this._setOption('visible', value); } protected get _optionPath() { return 'marker'; } constructor(@SkipSelf() @Host() parentOptionHost: NestedOptionHost, @Host() optionHost: NestedOptionHost) { super(); parentOptionHost.setNestedOption(this); optionHost.setHost(this, this._fullOptionPath.bind(this)); } } @NgModule({ declarations: [ DxoMarkerComponent ], exports: [ DxoMarkerComponent ], }) export class DxoMarkerModule { }