From bfd526d7aac1943d3e2e9b8a9579298ce4401ffb Mon Sep 17 00:00:00 2001 From: behnoosh Date: Thu, 30 Jan 2020 11:57:20 +0100 Subject: [PATCH 1/2] doc changed for tooltip (+1 squashed commits) Squashed commits: [68624ee] doc changed for tooltip --- src/app/docs/tooltip.component.md | 3 +++ src/app/docs/tooltip.component.ts | 5 +++++ 2 files changed, 8 insertions(+) create mode 100644 src/app/docs/tooltip.component.md diff --git a/src/app/docs/tooltip.component.md b/src/app/docs/tooltip.component.md new file mode 100644 index 00000000..cada6a64 --- /dev/null +++ b/src/app/docs/tooltip.component.md @@ -0,0 +1,3 @@ +#### Tooltip +* `triggers` allows close and open tooltip with an event (ex: for mobile apps). +* `autoClose` allows close tooltip by clicking `inside` or `outside` of button. diff --git a/src/app/docs/tooltip.component.ts b/src/app/docs/tooltip.component.ts index e7e7806c..be69043b 100644 --- a/src/app/docs/tooltip.component.ts +++ b/src/app/docs/tooltip.component.ts @@ -7,11 +7,16 @@ import { Analytics } from './shared/analytics';

Demo

+
+
+

Usage

+
` }) export class DocTooltip implements OnInit { + public docContent = require('html-loader!markdown-loader!./tooltip.component.md'); public demoSnippets = { markup: require('!!prismjs-loader?lang=html!../demos/tooltip.component.html'), typescript: require('!!prismjs-loader?lang=typescript!../demos/tooltip.component.ts') From 8826c2b1df121c4574a1710b0d0faa2edc245aa6 Mon Sep 17 00:00:00 2001 From: behnoosh Date: Thu, 30 Jan 2020 14:36:22 +0100 Subject: [PATCH 2/2] correction text --- src/app/docs/tooltip.component.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/docs/tooltip.component.md b/src/app/docs/tooltip.component.md index cada6a64..5ee2f4a1 100644 --- a/src/app/docs/tooltip.component.md +++ b/src/app/docs/tooltip.component.md @@ -1,3 +1,3 @@ #### Tooltip -* `triggers` allows close and open tooltip with an event (ex: for mobile apps). -* `autoClose` allows close tooltip by clicking `inside` or `outside` of button. +* `triggers` allows to close and open tooltip with an event (ex: for mobile apps). +* `autoClose` allows to close tooltip by clicking `inside` or `outside` of button.