From 1994c98063c27a41797dec01f2ca9fcbe33ceab0 Mon Sep 17 00:00:00 2001 From: Israel Lavi Date: Mon, 21 May 2018 17:42:00 +0300 Subject: init commit onap ui Change-Id: I1dace78817dbba752c550c182dfea118b4a38646 Issue-ID: SDC-1350 Signed-off-by: Israel Lavi --- stories/ng2-component-lab/tiles.component.exp.ts | 194 +++++++++++++++++++++++ 1 file changed, 194 insertions(+) create mode 100644 stories/ng2-component-lab/tiles.component.exp.ts (limited to 'stories/ng2-component-lab/tiles.component.exp.ts') diff --git a/stories/ng2-component-lab/tiles.component.exp.ts b/stories/ng2-component-lab/tiles.component.exp.ts new file mode 100644 index 0000000..572b6ca --- /dev/null +++ b/stories/ng2-component-lab/tiles.component.exp.ts @@ -0,0 +1,194 @@ +import { experimentOn } from '@islavi/ng2-component-lab'; + +const alert1 = window.alert; +const console1 = console.log; + +export default experimentOn('Tiles') + .group("Tiles",[ + { + id: 'tileSampleBlue', + showSource: true, + context: { + alert: alert1, + console: console1 + }, + title: 'Tile sample blue', + description: 'Tile sample blue', + template: ` + + +
P
+
+ +
+
+ + + vsp_new_icon + + + + + + + + + + +
+
+ +
+ + Footer + +
+ ` + }, + { + id: 'tileSamplePurple', + title: 'Tile sample purple', + description: 'Tile sample purple', + showSource: true, + template: ` + + +
P
+
+ +
+
+ + + vsp_new_icon + + + + + + + + + + +
+
+ +
+ + Footer + +
+ ` + }, + { + id: 'tileSampleWithoutFooter', + title: 'Tile sample without footer', + description: 'Tile sample without footer', + showSource: true, + template: ` + + +
P
+
+ +
+
+ + + vsp_new_icon + + + + + + + + + + +
+
+ +
+
+ ` + }, + { + id: 'tileSampleWithoutHeader', + title: 'Tile sample without header', + description: 'Tile sample without header', + showSource: true, + template: ` + + +
+
+ + + vsp_new_icon + + + + + + + + + + +
+
+ +
+ + Footer + +
+ ` + }, + { + id: 'tileJustWithInfo', + title: 'Tile just with info', + description: 'Tile just with info', + showSource: true, + template: ` + + +
+
+ + + vsp_new_icon + + + + + + + + + + +
+
+ +
+
` + } + ]); -- cgit 1.2.3-korg