-
Notifications
You must be signed in to change notification settings - Fork 156
/
Copy pathmargin.ts
38 lines (34 loc) · 909 Bytes
/
margin.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
import { Property, ChildProperty } from '@syncfusion/ej2-base';
/**
* Defines the space to be left between an object and its immediate parent
*/
export class Margin extends ChildProperty<Margin> {
/**
* Sets the space to be left from the left side of the immediate parent of an element
*
* @default 10
*/
@Property(10)
public left: number;
/**
* Sets the space to be left from the right side of the immediate parent of an element
*
* @default 10
*/
@Property(10)
public right: number;
/**
* Sets the space to be left from the top side of the immediate parent of an element
*
* @default 10
*/
@Property(10)
public top: number;
/**
* Sets the space to be left from the bottom side of the immediate parent of an element
*
* @default 10
*/
@Property(10)
public bottom: number;
}