diff --git a/docs/classes/_lib_in_viewport_config_.inviewportconfig.html b/docs/classes/_lib_in_viewport_config_.inviewportconfig.html index 0216dd55..ec18b0d2 100644 --- a/docs/classes/_lib_in_viewport_config_.inviewportconfig.html +++ b/docs/classes/_lib_in_viewport_config_.inviewportconfig.html @@ -135,7 +135,7 @@

constructor

  • Parameters

    @@ -157,7 +157,7 @@

    Private _checkFn

    _checkFn: InViewportConfigCheckFn
    @@ -167,7 +167,7 @@

    Private _direction

    _direction: InViewportConfigDirection = InViewportConfigDirection.BOTH
    @@ -177,7 +177,7 @@

    Private _hash

    _hash: string
    @@ -187,7 +187,7 @@

    Private _partial

    _partial: boolean = true
    @@ -197,7 +197,7 @@

    Private _root

    _root: Element
    @@ -207,7 +207,7 @@

    Private _rootMargin

    _rootMargin: string = "0px 0px 0px 0px"
    @@ -217,7 +217,7 @@

    Private _threshold

    _threshold: number | number[] = [...InViewportConfig.DEFAULT_THRESHOLD]
    @@ -227,7 +227,7 @@

    Static DEFAULT_THRESHOLD: number[] = [0, 1] @@ -237,7 +237,7 @@

    Static STRINGIFY_DELIMITER: "|" = "|" @@ -255,7 +255,7 @@

    checkFn

  • Returns InViewportConfigCheckFn

    @@ -263,7 +263,7 @@

    Returns

    Parameters

    @@ -287,7 +287,7 @@

    direction

  • Returns InViewportConfigDirection

    @@ -295,7 +295,7 @@

    Returns

    Parameters

    @@ -318,7 +318,7 @@

    hash

  • Returns string

    @@ -336,7 +336,7 @@

    partial

  • Returns boolean

    @@ -344,7 +344,7 @@

    Returns boolean

    Parameters

    @@ -368,7 +368,7 @@

    root

  • Returns Element

    @@ -376,7 +376,7 @@

    Returns Element

    Parameters

    @@ -400,7 +400,7 @@

    rootMargin

  • Returns string

    @@ -408,7 +408,7 @@

    Returns string

    Parameters

    @@ -432,7 +432,7 @@

    threshold

  • Returns number @@ -443,7 +443,7 @@

    Returns number

    Parameters

    @@ -469,7 +469,7 @@

    Static

    Parameters

    @@ -492,7 +492,7 @@

    Static

    Parameters

    diff --git a/docs/classes/_lib_in_viewport_directive_.inviewportdirective.html b/docs/classes/_lib_in_viewport_directive_.inviewportdirective.html index 533a5d9f..5abb46d1 100644 --- a/docs/classes/_lib_in_viewport_directive_.inviewportdirective.html +++ b/docs/classes/_lib_in_viewport_directive_.inviewportdirective.html @@ -98,17 +98,17 @@

    Constructors

    Properties

    -
    +

    Accessors

    @@ -135,7 +135,7 @@

    constructor

  • Parameters

    @@ -163,7 +163,17 @@

    Private config

    config: InViewportConfig = new InViewportConfig()
    +
  • +
    + +

    Private destroyed$

    +
    destroyed$: Subject<void> = new Subject()
    +
    @@ -173,7 +183,7 @@

    Private elementRef

    elementRef: ElementRef
    @@ -183,7 +193,7 @@

    Private inViewport

    inViewport: InViewportService
    @@ -193,7 +203,7 @@

    inViewportAction

    inViewportAction: EventEmitter<any> = new EventEmitter<any>()
    @@ -203,34 +213,24 @@

    Private platformId

    platformId: Object
    - -
    - -

    Private subscription

    -
    subscription: Subscription = new Subscription()
    -
    -
    +

    Accessors

    -
    +
    -

    Private options

    -
    @@ -152,7 +152,7 @@

    Private registry

    registry: InViewportRegistry = []
    @@ -162,7 +162,7 @@

    trigger$

    trigger$: InViewportTrigger = new Subject<IntersectionObserverEntry>()
    @@ -179,7 +179,7 @@

    Private emitTrigger

  • Parameters

    @@ -202,7 +202,7 @@

    Private findEntry

  • Parameters

    @@ -228,7 +228,7 @@

    Private getRootElemen
  • Parameters

    @@ -254,7 +254,7 @@

    register

  • Parameters

    @@ -280,7 +280,7 @@

    unregister

  • Parameters

    diff --git a/docs/enums/_lib_in_viewport_config_.inviewportconfigdirection.html b/docs/enums/_lib_in_viewport_config_.inviewportconfigdirection.html index 89148104..06223477 100644 --- a/docs/enums/_lib_in_viewport_config_.inviewportconfigdirection.html +++ b/docs/enums/_lib_in_viewport_config_.inviewportconfigdirection.html @@ -73,7 +73,7 @@

    Enumeration InViewportConfigDirection

    license
    -

    Copyright (c) 2020 Piotr Stępniewski k3nsei.pl@gmail.com +

    Copyright (c) 2020 Piotr Stępniewski k3nsei.pl@gmail.com (https://www.linkedin.com/in/piotrstepniewski/)

    Use of this source code is governed by an MIT-style license that can be found in the LICENSE file at https://opensource.org/licenses/MIT

    @@ -104,7 +104,7 @@

    BOTH

    BOTH: = "both"
  • @@ -114,7 +114,7 @@

    HORIZONTAL

    HORIZONTAL: = "horizontal"
    @@ -124,7 +124,7 @@

    VERTICAL

    VERTICAL: = "vertical"
    diff --git a/docs/interfaces/_lib_in_viewport_config_.inviewportconfigcheckfnoptions.html b/docs/interfaces/_lib_in_viewport_config_.inviewportconfigcheckfnoptions.html index 0e30c650..4da13513 100644 --- a/docs/interfaces/_lib_in_viewport_config_.inviewportconfigcheckfnoptions.html +++ b/docs/interfaces/_lib_in_viewport_config_.inviewportconfigcheckfnoptions.html @@ -99,7 +99,7 @@

    config

    @@ -109,7 +109,7 @@

    force

    force: boolean
    diff --git a/docs/interfaces/_lib_in_viewport_config_.inviewportconfigoptions.html b/docs/interfaces/_lib_in_viewport_config_.inviewportconfigoptions.html index 230e55cd..c3d648a4 100644 --- a/docs/interfaces/_lib_in_viewport_config_.inviewportconfigoptions.html +++ b/docs/interfaces/_lib_in_viewport_config_.inviewportconfigoptions.html @@ -103,7 +103,7 @@

    Optional checkFn

    @@ -113,7 +113,7 @@

    Optional direction

    @@ -123,7 +123,7 @@

    Optional partial

    partial: boolean
    @@ -133,7 +133,7 @@

    Optional root

    root: Element
    @@ -143,7 +143,7 @@

    Optional rootMargin

    rootMargin: string
    @@ -153,7 +153,7 @@

    Optional threshold

    threshold: number | number[]
    diff --git a/docs/interfaces/_lib_in_viewport_service_.inviewportregistryentry.html b/docs/interfaces/_lib_in_viewport_service_.inviewportregistryentry.html index ef4ff3c1..5d79b184 100644 --- a/docs/interfaces/_lib_in_viewport_service_.inviewportregistryentry.html +++ b/docs/interfaces/_lib_in_viewport_service_.inviewportregistryentry.html @@ -101,7 +101,7 @@

    configHash

    configHash: string
    @@ -111,7 +111,7 @@

    observer

    observer: IntersectionObserver
    @@ -121,7 +121,7 @@

    root

    root: Element
    @@ -131,7 +131,7 @@

    targets

    targets: Set<Element>
    diff --git a/docs/modules/_lib_in_viewport_config_.html b/docs/modules/_lib_in_viewport_config_.html index 8942b9e8..0fb642cc 100644 --- a/docs/modules/_lib_in_viewport_config_.html +++ b/docs/modules/_lib_in_viewport_config_.html @@ -115,7 +115,7 @@

    InViewportConfigCheckFn

    InViewportConfigCheckFn: function
    @@ -156,7 +156,7 @@

    isPlatformBrowser

  • Returns boolean

    @@ -173,7 +173,7 @@

    toBase64

  • Parameters

    @@ -196,7 +196,7 @@

    toBase64Browser

  • Parameters

    @@ -219,7 +219,7 @@

    toBase64Node

  • Parameters

    diff --git a/docs/modules/_lib_in_viewport_directive_.html b/docs/modules/_lib_in_viewport_directive_.html index c6fa5ba6..8903390c 100644 --- a/docs/modules/_lib_in_viewport_directive_.html +++ b/docs/modules/_lib_in_viewport_directive_.html @@ -93,7 +93,7 @@

    Const InViewportMetadat
    InViewportMetadata: unique symbol = Symbol('InViewportMetadata')
    diff --git a/docs/modules/_lib_in_viewport_service_.html b/docs/modules/_lib_in_viewport_service_.html index c0a0ecb4..e8c9462d 100644 --- a/docs/modules/_lib_in_viewport_service_.html +++ b/docs/modules/_lib_in_viewport_service_.html @@ -100,7 +100,7 @@

    InViewportRegistry

    InViewportRegistry: InViewportRegistryEntry[]
    @@ -110,7 +110,7 @@

    InViewportTrigger

    InViewportTrigger: Subject<IntersectionObserverEntry>
    diff --git a/package.json b/package.json index 7d782628..0786824d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ng-in-viewport", - "version": "6.1.3", + "version": "6.1.4", "description": "Allows us to check if an element is within the browsers visual viewport", "license": "MIT", "authors": [ @@ -30,7 +30,7 @@ "format": "prettier --write \"src/**/*.ts\"", "format:lib": "prettier --write \"projects/ng-in-viewport/src/**/*.ts\"", "predoc:lib": "rimraf ./docs", - "doc:lib": "yarn run typedoc --tsconfig ./projects/ng-in-viewport/tsconfig.lib.json --out ./docs/ ./projects/ng-in-viewport/src/public_api.ts", + "doc:lib": "yarn run typedoc --tsconfig ./projects/ng-in-viewport/tsconfig.lib.json --out ./docs/ ./projects/ng-in-viewport/src/public_api.ts && echo \"\" > ./docs/.nojekyll", "e2e": "ng e2e", "build:client-and-server-bundles": "ng build ng-in-viewport --prod && ng build in-viewport --prod --aot && ng run in-viewport:server:production", "build:prerender": "npm run build:client-and-server-bundles && npm run webpack:server && npm run generate:prerender", diff --git a/projects/ng-in-viewport/package.json b/projects/ng-in-viewport/package.json index c2849b7d..45e46cf0 100644 --- a/projects/ng-in-viewport/package.json +++ b/projects/ng-in-viewport/package.json @@ -1,6 +1,6 @@ { "name": "ng-in-viewport", - "version": "6.1.3", + "version": "6.1.4", "description": "Allows us to check if an element is within the browsers visual viewport", "license": "MIT", "authors": [