UNPKG

smart-webcomponents-angular

Version:

[![Price](https://img.shields.io/badge/price-COMMERCIAL-0098f7.svg)](https://jqwidgets.com/license/)

61 lines (60 loc) 2.92 kB
import { SplitterItem } from './../index'; import { AfterViewInit, ElementRef, OnInit, OnChanges, OnDestroy, SimpleChanges } from '@angular/core'; import { BaseElement } from './smart.element'; import * as i0 from "@angular/core"; export { ElementRenderMode } from './../index'; export { Smart } from './smart.element'; export { SplitterItem } from './../index'; export declare class SplitterItemComponent extends BaseElement implements OnInit, AfterViewInit, OnDestroy, OnChanges { constructor(ref: ElementRef<SplitterItem>); private eventHandlers; nativeElement: SplitterItem; /** @description Creates the component on demand. * @param properties An optional object of properties, which will be added to the template binded ones. */ createComponent(properties?: {}): any; /** @description Enables or disables the element. */ get disabled(): boolean; set disabled(value: boolean); /** @description Determines of the item is collapsed or not. */ get collapsed(): boolean; set collapsed(value: boolean); /** @description Determines of the item can be collapsed. If set to false, the item can't be collapsed */ get collapsible(): boolean; set collapsible(value: boolean); /** @description Determines the content of the splitter items */ get content(): any; set content(value: any); /** @description Determines of the item can be resized or not. */ get locked(): boolean; set locked(value: boolean); /** @description Determines the max size of the item. */ get max(): string; set max(value: string); /** @description Determines the min size of the item */ get min(): string; set min(value: string); /** @description Determines the size of the item. */ get size(): string; set size(value: string); /** @description Collapses the item. * @param {string} far. If set to true the item will collapse to it's far side ( to the right for vertical splitter and down for horizontal) */ collapse(far: string): void; /** @description Expands the item if it's collapsed. */ expand(): void; /** @description Locks the item so it can no longer change it's size. */ lock(): void; /** @description Unlocks a previously locked item. */ unlock(): void; get isRendered(): boolean; ngOnInit(): void; ngAfterViewInit(): void; ngOnDestroy(): void; ngOnChanges(changes: SimpleChanges): void; static ɵfac: i0.ɵɵFactoryDeclaration<SplitterItemComponent, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<SplitterItemComponent, "smart-splitter-item, [smart-splitter-item]", ["smart-splitter-item"], { "disabled": "disabled"; "collapsed": "collapsed"; "collapsible": "collapsible"; "content": "content"; "locked": "locked"; "max": "max"; "min": "min"; "size": "size"; }, {}, never>; }