-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BlockPreview: add __experimentalOnReady property (#17242)
* Docs: Fix JavaScript linting command (#20371) The docs say to use run `npm run lint:fix` to automatically fix some issues, that doesn't exist, it should be `npm run lint-js:fix` * block-preview: update doc * block-preview: set onReady as experimental prop * rename reference name * declare `position` constant * improve doc * use onReady name internally * simply running onReady callback * pass the online styles to the callback * avoid var name collisions * block-preview: reduce the computing delay to 0 * block-preview: be able to set previewing delay * rename function/vars. Improve docs. * block-preview: improve Readme doc * block-preview: fix x position. simplify. Co-authored-by: Brent Swisher <[email protected]>
- Loading branch information
1 parent
ef73ed0
commit f054565
Showing
2 changed files
with
80 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters