Method
__init__
(
self,
name: Optional[str] = None,
overlay: bool = False,
control: bool = True,
show: bool = True,
)
Source from the content-addressed store, hash-verified
| 113 | """ |
| 114 | |
| 115 | def __init__( |
| 116 | self, |
| 117 | name: Optional[str] = None, |
| 118 | overlay: bool = False, |
| 119 | control: bool = True, |
| 120 | show: bool = True, |
| 121 | ): |
| 122 | super().__init__() |
| 123 | self.layer_name = name if name is not None else self.get_name() |
| 124 | self.overlay = overlay |
| 125 | self.control = control |
| 126 | self.show = show |
| 127 | |
| 128 | def render(self, **kwargs): |
| 129 | if self.show: |
Callers
nothing calls this directly
Tested by
no test coverage detected