File

projects/i-components/src/lib/components/xam-grid/XamColumnLayout.component.ts

Description

Component emulating the hierarchy declaration in SilverLight.

Metadata

selector wm-xam-column-layout
template
<ng-content></ng-content>

Index

Properties
Inputs

Inputs

key
Type : string

The key property for the nested data collection.

Properties

columns
Type : QueryList<XamGridColumnComponent>
Decorators :
@ContentChildren(XamGridColumnComponent)

reference to the xamGridColumnComponent collection

key
Type : string
Decorators :
@Input()

The key property for the nested data collection.

import { Component, ContentChildren, Input, QueryList } from '@angular/core';
import { XamGridColumnComponent } from '../xam-grid-column/xam-grid-column.component';

/**
 * Component emulating the hierarchy declaration in SilverLight.
 *
 * @export
 * @class XamColumnLayoutComponent
 */
@Component({
  selector: 'wm-xam-column-layout',
  template: `<ng-content></ng-content>`,
})
export class XamColumnLayoutComponent {
  /**
   * The key property for the nested data collection.
   *
   * @type {string}
   * @memberof XamColumnLayoutComponent
   */
  @Input()
  key: string;

  /**
   * reference to the xamGridColumnComponent collection
   *
   * @type {QueryList<XamGridColumnComponent>}
   * @memberof XamColumnLayoutComponent
   */
  @ContentChildren(XamGridColumnComponent)
  columns: QueryList<XamGridColumnComponent>;
}
Legend
Html element
Component
Html element with directive

result-matching ""

    No results matching ""