Home Manual Reference Source Repository
import {MinimizeCommand} from 'ug-layout/commands/MinimizeCommand'
public class | source

MinimizeCommand

Extends:

BusEventCommand → MinimizeCommand

Constructor Summary

Public Constructor
public

constructor(_target: *, _options: {}, _parent: undefined)

Member Summary

Public Members
public get
public get

size: *

Inherited Summary

From class BusEvent
public get

done: Promise<this>

A Promise that resolves when the event is 'done'.

public get

Whether the propagation of this event is stopped.

public get

The options provided to this event.

public get

origin: *

The origin event.

public get

target: T

The target of the event.

public

delegate(Ctor: Type<U>, target: *, options: BusEventOptions): U

Creates a new event with a new target and setting this event as the _parent of the new event.

public

dispatch(subscriber: Observer<this>)

Implements how this event is dispatched on the given event bus.

public

Stops the propagation of the event.

public

wait(fn: function(): *): void

Adds a function that will execute and hold up the finishing of this event until the given promise resolves.

Public Constructors

public constructor(_target: *, _options: {}, _parent: undefined) source

Creates an instance of BusEvent.

Override:

BusEvent#constructor

Params:

NameTypeAttributeDescription
_target *
_options {}
  • optional
  • default: {}
_parent undefined
  • optional
  • default: undefined

Public Members

public get minimize: * source

public get size: * source