Skip to content

Commit 6be24d7

Browse files
authored
docs: update Toppy.create signature
1 parent a39a2e2 commit 6be24d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/app/utils/content/content.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ <h3><span class="toppy-icon icon-file"></span> API</h3>
272272

273273
Toppy.content(data: ContentData, props: ContentProps = &#123;&#125;):Toppy
274274

275-
Toppy.create(position:Position,config:ToppyConfig):ToppyControl
275+
Toppy.create(key : string = ''):ToppyControl
276276

277277
Toppy.getCtrl(id:<span class="hljs-built_in">string</span>):ToppyControl
278278

0 commit comments

Comments
 (0)