web-documentation 1.0.0 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +3 -3
  2. package/source/index.ts +2 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "web-documentation",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "Declarative multilanguage documentation website generator",
5
5
  "keywords": [
6
6
  "documentation",
@@ -40,7 +40,7 @@
40
40
  "clear": "weboptimizer clear",
41
41
  "document": "weboptimizer document",
42
42
  "lint": "weboptimizer lint",
43
- "prepareBACKUP": "yarn build",
43
+ "prepare": "yarn build",
44
44
  "serve": "weboptimizer serve",
45
45
  "start": "yarn serve",
46
46
  "test": "yarn clear && weboptimizer test",
@@ -333,4 +333,4 @@
333
333
  }
334
334
  },
335
335
  "packageManager": "yarn@4.12.0+sha512.f45ab632439a67f8bc759bf32ead036a1f413287b9042726b7cc4818b7b49e14e9423ba49b18f9e06ea4941c1ad062385b1d8760a8d5091a1a31e5f6219afca8"
336
- }
336
+ }
package/source/index.ts CHANGED
@@ -112,6 +112,8 @@ export class WebDocumentation<
112
112
  // region api properties
113
113
  @property({type: object})
114
114
  options = {} as Options
115
+ @property({type: func})
116
+ onExamplesLoaded: (this: WebDocumentation) => void = NOOP
115
117
  // endregion
116
118
  // region domNodes
117
119
  aboutThisWebsiteLinkDomNodes: NodeListOf<HTMLElement> | null = null