=======
Defined in basic/string.ts:3
>>>>>>> origin/dev
=======
Defined in basic/string.ts:3
>>>>>>> dev
=======
Defined in components/string.ts:3
>>>>>>> dev
=======
Defined in components/string.ts:3
>>>>>>> dev
=======
Defined in components/string.ts:3
>>>>>>> dev:docs/classes/index.String.html
=======
Defined in components/string.ts:3
>>>>>>> dev
>>>>>>> origin/dev
=======
Defined in basic/component.ts:28
>>>>>>> dev
=======
Defined in components/component.ts:30
>>>>>>> dev
=======
Defined in components/component.ts:30
>>>>>>> dev:docs/classes/index.String.html
=======
Defined in components/component.ts:30
>>>>>>> dev
attribute
attribute: {
[key: string]: string;
}
>>>>>>> dev
=======
Defined in basic/component.ts:33
>>>>>>> origin/dev
=======
Defined in basic/component.ts:33
>>>>>>> dev
=======
Defined in components/component.ts:35
>>>>>>> dev
=======
Defined in components/component.ts:35
>>>>>>> dev
children
>>>>>>> dev:docs/classes/index.String.html
=======
Defined in basic/component.ts:39
>>>>>>> origin/dev
=======
Defined in basic/component.ts:39
>>>>>>> dev
Protected
pmCss
pmCss: string = ""
=======
Defined in basic/component.ts:42
>>>>>>> origin/dev
=======
Defined in basic/component.ts:42
>>>>>>> dev
=======
Defined in components/component.ts:41
=======
Defined in components/component.ts:41
>>>>>>> dev
=======
Defined in components/component.ts:41
>>>>>>> dev:docs/classes/index.String.html
=======
Defined in components/component.ts:41
>>>>>>> dev
>>>>>>> dev
=======
Defined in components/component.ts:43
>>>>>>> dev
=======
Defined in components/component.ts:43
>>>>>>> dev:docs/classes/index.String.html
=======
Defined in components/component.ts:43
>>>>>>> dev
content
content: string
=======
Defined in basic/string.ts:7
>>>>>>> origin/dev
=======
Defined in basic/string.ts:7
>>>>>>> dev
=======
Defined in components/string.ts:7
>>>>>>> dev
=======
Defined in components/string.ts:7
>>>>>>> dev
=======
Defined in components/string.ts:7
>>>>>>> dev:docs/classes/index.String.html
=======
Defined in components/string.ts:7
>>>>>>> dev
>>>>>>> origin/dev
=======
Defined in basic/component.ts:71
>>>>>>> dev
=======
Defined in components/component.ts:76
>>>>>>> dev
=======
Defined in components/component.ts:76
>>>>>>> dev
=======
Defined in components/component.ts:76
>>>>>>> dev:docs/classes/index.String.html
=======
Defined in components/component.ts:76
>>>>>>> dev
getAttributes
- getAttributes(): {
[key: string]: string;
}
-
Returns {
[key: string]: string;
}
=======
Defined in basic/component.ts:88
>>>>>>> origin/dev
=======
Defined in basic/component.ts:88
>>>>>>> dev
=======
Defined in components/component.ts:93
>>>>>>> dev
=======
Defined in components/component.ts:93
>>>>>>> dev
=======
Defined in components/component.ts:93
>>>>>>> dev:docs/classes/index.String.html
=======
Defined in components/component.ts:93
>>>>>>> dev
=======
Defined in basic/component.ts:96
>>>>>>> origin/dev
=======
Defined in basic/component.ts:96
>>>>>>> dev
=======
Defined in components/component.ts:101
>>>>>>> dev
=======
Defined in components/component.ts:101
>>>>>>> dev:docs/classes/index.String.html
=======
Defined in components/component.ts:101
>>>>>>> dev
=======
Defined in basic/component.ts:112
>>>>>>> origin/dev
=======
Defined in basic/component.ts:112
>>>>>>> dev
addChildren
- addChildren(...childrenToAdd: Component[]): void
-
Returns void
=======
Defined in basic/component.ts:120
>>>>>>> origin/dev
=======
Defined in basic/component.ts:120
>>>>>>> dev
removeChild
- removeChild(child: Component): void
-
Returns void
=======
Defined in basic/component.ts:129
>>>>>>> origin/dev
=======
Defined in basic/component.ts:129
>>>>>>> dev
=======
Defined in components/component.ts:105
>>>>>>> dev
=======
Defined in components/component.ts:105
>>>>>>> dev
=======
Defined in components/component.ts:105
>>>>>>> dev:docs/classes/index.String.html
=======
Defined in components/component.ts:109
>>>>>>> dev
setAttribute
- setAttribute(name: string, value: string): void
-
Parameters
-
name: string
-
value: string
Returns void
=======
Defined in basic/component.ts:150
>>>>>>> origin/dev
=======
Defined in basic/component.ts:150
>>>>>>> dev
=======
Defined in components/component.ts:122
>>>>>>> dev
=======
Defined in components/component.ts:122
>>>>>>> dev
=======
Defined in components/component.ts:122
>>>>>>> dev:docs/classes/index.String.html
=======
Defined in components/component.ts:126
>>>>>>> dev
getAttribute
- getAttribute(name: string): undefined | string
-
Returns undefined | string
=======
Defined in basic/component.ts:159
>>>>>>> origin/dev
=======
Defined in basic/component.ts:159
>>>>>>> dev
=======
Defined in components/component.ts:131
>>>>>>> dev
=======
Defined in components/component.ts:131
>>>>>>> dev
=======
Defined in components/component.ts:131
>>>>>>> dev:docs/classes/index.String.html
=======
Defined in components/component.ts:135
>>>>>>> dev
removeAttribute
- removeAttribute(name: string): void
-
Returns void
=======
Defined in basic/component.ts:167
>>>>>>> origin/dev
=======
Defined in basic/component.ts:167
>>>>>>> dev
=======
Defined in components/component.ts:139
>>>>>>> dev
=======
Defined in components/component.ts:139
>>>>>>> dev:docs/classes/index.String.html
=======
Defined in components/component.ts:143
>>>>>>> dev
addChild
>>>>>>> dev
- addChild(child: Component): void
-
Returns void
addChildren
- addChildren(...childrenToAdd: Component[]): void
-
Returns void
=======
Defined in basic/component.ts:183
>>>>>>> origin/dev
=======
Defined in basic/component.ts:183
>>>>>>> dev
=======
Defined in components/component.ts:179
=======
Defined in components/component.ts:179
>>>>>>> dev
=======
Defined in components/component.ts:179
>>>>>>> dev:docs/classes/index.String.html
=======
Defined in components/component.ts:183
>>>>>>> dev
removeChild
- removeChild(child: Component): void
-
Returns void
>>>>>>> dev
=======
Defined in components/component.ts:196
>>>>>>> dev
=======
Defined in components/component.ts:196
>>>>>>> dev:docs/classes/index.String.html
=======
Defined in components/component.ts:200
>>>>>>> dev
addClasses
- addClasses(...classNames: string[]): void
-
Parameters
-
Rest
...classNames: string[]
Returns void
=======
Defined in basic/component.ts:200
>>>>>>> origin/dev
=======
Defined in basic/component.ts:200
>>>>>>> dev
setStyles
- setStyles(properties: {
[key: string]: string;
}): void
-
Parameters
-
properties: {
[key: string]: string;
}
Returns void
=======
Defined in basic/component.ts:217
>>>>>>> origin/dev
=======
Defined in basic/component.ts:217
>>>>>>> dev
deleteStyles
- deleteStyles(...properties: string[]): void
-
Parameters
-
Rest
...properties: string[]
Returns void
=======
Defined in basic/component.ts:229
>>>>>>> origin/dev
=======
Defined in basic/component.ts:229
>>>>>>> dev
fill
- fill(direction: "both" | "vertical" | "horizontal"): void
-
Parameters
-
direction: "both" | "vertical" | "horizontal"
Returns void
=======
Defined in basic/component.ts:268
>>>>>>> origin/dev
=======
Defined in basic/component.ts:268
>>>>>>> dev
align
- align(vertical: "top" | "bottom" | "middle", horizontal: "center" | "left" | "right"): void
-
Parameters
-
vertical: "top" | "bottom" | "middle"
-
horizontal: "center" | "left" | "right"
Returns void
=======
Defined in basic/component.ts:289
>>>>>>> origin/dev
=======
Defined in basic/component.ts:289
>>>>>>> dev
=======
Defined in components/component.ts:214
>>>>>>> dev
=======
Defined in components/component.ts:214
>>>>>>> dev
=======
Defined in components/component.ts:214
>>>>>>> dev:docs/classes/index.String.html
=======
Defined in components/component.ts:218
>>>>>>> dev
toString
- toString(): string
-
Returns string
=======
Defined in basic/string.ts:14
>>>>>>> origin/dev
=======
Defined in basic/string.ts:14
>>>>>>> dev
=======
Defined in components/string.ts:14
>>>>>>> dev
=======
Defined in components/string.ts:14
>>>>>>> dev
=======
Defined in components/string.ts:14
>>>>>>> dev:docs/classes/index.String.html
=======
Defined in components/string.ts:14
>>>>>>> dev
Constructors
constructor
- new String(content?: string): String
-
Component
Represents the entire hirarchy of HTML elements Each and every html element can be expressed as a single Component or A hirarchy of components.
Remarks
This class hirarchy is then compiled into normal HTML code. This Component can be inherited to create newer more complex components.
Example
Creating A component
Author
Sujal Choudhari sjlchoudhari@gmail.com