Skip to content

Formatting not working on page reload (looking for fallback) #135

@drale2k

Description

@drale2k

On an initial page load or page reload, the formatting is not working (Using Rails + Turbolinks). I used to solve this by calling updateNowElements directly but now that Rails 6 switch to webpacker, i'd like to know how to access updateNowElements after importing time-elements via

import timeElements from 'time-elements/dist/time-elements.js'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions