File tree Expand file tree Collapse file tree 8 files changed +0
-1475
lines changed
plugins/docusaurus-plugin-ionic-component-api Expand file tree Collapse file tree 8 files changed +0
-1475
lines changed Original file line number Diff line number Diff line change @@ -202,25 +202,6 @@ function renderParameters(paramsArr) {
202202 return `| **Parameters** | ${ formattedParams } |` ;
203203}
204204
205- /**
206- * Formats method parameters for the optional Parameters row of each method table
207- * @param {* } paramsArr Array of method parameters
208- * @returns formatted parameters for methods table
209- */
210- function renderParameters ( paramsArr ) {
211- if ( ! paramsArr . some ( ( param ) => param . docs ) ) {
212- return '' ;
213- }
214-
215- const documentedParams = paramsArr . filter ( ( param ) => param . docs ) ;
216- const formattedParams = documentedParams
217- . map ( ( param ) => {
218- return `**${ param . name } **: ${ formatMultiline ( param . docs ) } ` ;
219- } )
220- . join ( '<br/>' ) ;
221- return `| **Parameters** | ${ formattedParams } |` ;
222- }
223-
224205function renderMethods ( { methods } ) {
225206 if ( methods . length === 0 ) {
226207 return 'No public methods available for this component.' ;
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments