Skip to content

Remove htmlDiv layout container, is.layout() #120

@rpkyle

Description

@rpkyle

This issue describes changes to bring the Dash for R internal API more in line with the Python version of the backend. The changes here are minimal, and related largely to outdated code:

  • 🔪 is.layout() and layout_container_id()
  • 🔪 redundant is.component(layout_) test

dashR/R/utils.R

Lines 18 to 25 in 9aace06

# layout is really a special type of component
is.layout <- function(x) {
is.component(x) && identical(x[["props"]][["id"]], layout_container_id())
}
layout_container_id <- function() {
"_dashR-layout-container"
}

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions