Active
Sometimes you may need to silence Estimtest. For example, you may only need the element active when experimenting. Setting active
to false
or "false"
will hide the Estimtest menus.
caution
This will not remove the element declaration from the source code; therefore, this does not decrease the payload size. If you need to remove the component entirely you may try looking at the solutions presented in the examples.
Example
- CLI
- Vanilla HTML
- Angular
- React
- Vue
The active
property is not supported on the CLI. It does not serve any use, Estimtest will not change your app's source code at all.
/index.html
<estimtest-core active="false"></estimtest-core>
/src/app/app.component.html
<estimtest-core active="false"/>
/src/index.tsx
<EstimtestCore active="false"/>
/src/App.vue
<estimtest-core :active="false"></estimtest-core>
tip
It is very likely that moving the Estimtest component with to the body
will work.