You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: examples/content/app.js
+2-2
Original file line number
Diff line number
Diff line change
@@ -45,11 +45,11 @@ class App extends Component {
45
45
<p>
46
46
If you provide a <OriginclassName="target custom"content="This is a custom content.">custom</Origin> content via Origin component's prop,
47
47
it will overwrite a <OriginclassName="target default">default</Origin> content of Tooltip component.<br/>
48
-
<OriginclassName="target html"place="right"content="This is a <b>html</b> content.<br />Sanitized by <a href='#'>DOMPurify</a>.<script>console.log('Hello XSS!');</script>">HTML</Origin> as string and <OriginclassName="target dom"content={dom}>DOM element</Origin> are also supported.
48
+
<OriginclassName="target html"content="This is a <b>html</b> content.<br />Sanitized by <a href='#'>DOMPurify</a>.<script>console.log('Hello XSS!');</script>">HTML</Origin> as string and <OriginclassName="target dom"content={dom}>DOM element</Origin> are also supported.
49
49
</p>
50
50
51
51
<p>
52
-
What time is it <OriginclassName="target right"place="right"onHover={this.handleHover}onLeave={this.handleLeave}>now</Origin>?
52
+
What time is it <OriginclassName="target time"onHover={this.handleHover}onLeave={this.handleLeave}>now</Origin>?
In default, <Originname="restricted"className="target auto-top"place="top">redux-tooltip</Origin> supposes you want to do auto-placement within the browser window.<br/>
In default, <Originname="restricted"className="target auto-top"place="top">redux-tooltip</Origin> supposes you want to do auto-placement within the browser window.<br/><br/>
51
51
Using <code>within</code> prop, you can specify <Originname="restricted"className="target auto-right"place="right">DOM element</Origin> instead of BODY element.
0 commit comments